Explore Enterprise Generation Language (EGL) introduction

 

 

Time required

To complete this tutorial, you will need approximately 2 hours and 30 minutes. If you decide to explore other facets of EGL or dynamic Web sites while working on the tutorial, it could take longer to finish.

 

 

Prerequisites

You will be best prepared to complete this tutorial if you have programmed in any third- or fourth-generation language such as COBOL, RPG, or a client/server language; and if you are familiar with these topics:

 

Learning objectives

In this tutorial, you learn how to do these tasks:

 

Tutorial and technology overview

The first of your Web pages shows a customer list from data stored in a relational database:

Page that lists several rows

The second Web page shows details about one customer selected by the user and allows the user to change those details:

Page that updates one row

EGL is the language you use to oversee the interaction between the user and the database:

As shown in this tutorial, EGL promotes code reuse in several ways:

EGL also provides the Data Parts wizard, which saves you from having to write the elementary code necessary to access a relational database. The outputs of this wizard are EGL parts that have specific purposes:

The controlling logic in the tutorial's application is a pair of page handlers, each of which oversees the user's run-time interaction with a Web page. A page-handler function is invoked by a user click, and the function in turn invokes a library function that you create. The result is that a user working at a Web browser can view and alter data stored in a database.

 

 

Tutorial exercises

You must complete the tutorial exercises in order. When you are ready, begin Exercise 1: Setting up EGL.