Saltar para o conteúdo principal
Versão: v20 R4 BETA

Web Server

4D in local mode, 4D in remote mode and 4D Server include a web server engine (aka http server) that enables you to design and publish powerful web applications that can make the most of your 4D databases.

Monitorização fácil

Você pode iniciar ou parar a publicação da aplicação web a qualquer momento. To do so, you just need to select a menu command or execute a single line of code.

Monitoring the 4D web server is easy and can be done using the 4D Server administration window or through special URLs.

Pronto a usar

The 4D web server automatically creates a default root folder and a default home page for an instantaneous availability.

Segurança

A segurança dos dados está presente em todos os estágios das implementações do servidor web 4D. Security levels are scalable and default settings usually select the most secure options. A segurança do servidor web 4D é baseada nos seguintes elementos:

Sessões Usuário

The 4D web server includes complete automatic features for easily managing web sessions (user sessions) based on cookies.

Ponto de acesso para solicitações REST

The 4D web server allows accessing data stored in your 4D applications through REST requests. REST requests provide direct access to any database operation such as adding, reading, editing, ordering, or searching data.

REST requests are detailed in the REST server section.

Extensão dos parâmetros

The 4D web server configuration is defined through a comprehensive set of application-level settings that can also be customized for the session using the webServer object properties or the WEB SET OPTION command.

Modelos e URLs

The 4D web server supports access to data stored in your 4D applications through template pages and specific URLs.

  • Template pages contain special tags that initiate web server processing at the time when they are sent to browsers.

  • URLs específicos permitem que 4D seja chamado para executar qualquer ação; esses URLs também podem ser usados como ações de formulário para acionar o processamento quando o usuário publica formulários HTML.

Métodos banco de dados dedicados

On Web Authentication, On Web Connection, as well as On REST Authentication database methods are the entry points of requests in the web server; they can be used to evaluate and route any type of request.