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:
- Creating
your Dynamic 4GL application.
- Editing
your server configuration file.
- Creating
a script to initialize the application.
- Editing
your client configuration file.
- Starting
the HTML server daemon.
- Starting
the browser.
- Using
the application from within the browser.
- 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). |
|