Up
Why Deploy on the Web?
Architecture for Web Deployment
Configuration
Security
Deploying an Application
Improving Your Application Interface

Step 1: Creating an application

Steps 2-4: Configuration

Steps 5-7: Starting the application

Step 8: Enhancing the application

Enhancing screen files

Creating Email and Web site links

Using features specific to Dynamic 4GL

Deploying a Sample Application

This section uses a simple Internet phonebook application to illustrate the steps required to deploy your Dynamic 4GL application on the web. This section assumes the following:

  Dynamic 4GL is installed.
  You understand the operation of fglcl and fglhtmld.
  You know the location of the configuration files.
  You have a basic knowledge of HTML.

The example covers the following steps:

  1. Creating your Dynamic 4GL application.
  2. Editing your server configuration file.
  3. Creating a script to initialize the application.
  4. Editing your client configuration file.
  5. Starting the HTML server daemon.
  6. Starting the browser.
  7. Using the application from within the browser.
  8. Enhancing the application to optimize it for web use.

The application contains the following modules:

browse Handles browsing in companies and contacts. It uses simple DISPLAY ARRAYS.
formgen Creates the forms shown in the application.
globals Contains the variables that must be global to a project or set of projects.
init Where initialization takes place. In this application, it is used for key (button) mapping.
main Handles simple initialization and menu generation.
new Creates new companies and contacts.
show Displays the complete information list of companies and contacts. It is also used to edit and delete companies and contacts.
tools A library module that contains isSuperUser(), a function that checks the super user's login name and password. In this version, only a basic authentication scheme is used. Login and password are hard coded in the source code (and thus cannot be changed easily).