Parts are the building blocks of EGL applications.
EGL includes these basic kinds of parts:
- Logic parts
- Logic parts define a sequence of instructions. Logic parts contain
one or more functions, which are the basic unit of logic. Logic
parts include Program parts and Library parts, which are general-use
parts, as well as Service parts, ExternalType parts, and Handler parts,
which have more specialized uses.
- Data parts
- Data parts define a structure that stores data. Data parts form
the basis for a variable that you can use in a logic part. Data parts
can hold one piece of data, as in a primitive or DataItem, or they
can hold many pieces of data, as in a Record part. See Introduction to data parts.
- User interface parts
- User interface parts define the information presented to a user
or the logic required when interacting with a user. Some user interface
parts are defined with a stereotype of a Record part, as is the case
with ConsoleForms and VGUIRecords, which specify the information that
you want to appear on the user interface. Others are defined with
a stereotype of a logic part, as is the case with ReportHandlers,
and VGWebTransactions. Other user interface parts are parts in their
own right, such as FormGroups.
- Build parts
- Build parts control the generation process and set how the application
will behave at run time. The most commonly used kind of build part
is the Build Descriptor part, which contains a list of build descriptor
options to define how the EGL code will be generated to the output
language. Other build parts control how the application will work
with other applications and resources at run time.
- Deployment descriptors
- Deployment descriptors contain information that describes how
EGL services will be made available to other applications and how
EGL applications will find services provided by other applications.