Within the application project structure in Agentrythe definitions at the application level are at the top of the hierarchy. These definitions affect the application as a whole. The definitions that are direct children of the application are those that affect communications behavior, globally available constant values used for configuration and other purposes, and also include data storage on the client in the form of tables and records accessible to the entire application. In addition are the definitions that can affect the appearance of the user interface.
The application itself is represented as a definition type within the application project. Within a project there is only one application definition. The child definitions to the application are then referred to as the application-level definitions. Regardless of functionality, most of the application-level definitions will be used in a given application.
Following is the structure of the application level definitions
within the application project. For all definitions in this graphic
the child definitions are also shown, with the exception of the
module. Modules are a robust definition type and the structure of
the module is provided with the module-level discussions.
As illustrated in this graphic, the child definitions to data tables and complex tables related to synchronization are dependent on the type of system connection for which those definitions were created. The synchronization logic will be encapsulated in the language or methodology matching that back end system type.
As denoted in the illustration the system connections of type HTTP-XML include child definitions related to user validation. The user validation request is sent according to these definitions, including arguments to that request. Responses from the request are then mapped to the data components of the mobile application.
The module definition type contains numerous child definitions not represented in this graphic. These are illustrated in the sections covering the module-level definition types.
In general when working within the Agentry Editor to either develop an application or to modify an existing one, the application-level definitions dictate and control aspects of the application behavior overall, rather than within a given module or lower-level of granularity.