In an ActiveGrid Application, the Page Flow orchestrates the flow of the application. The
Page Flow knows what operations the application must perform when a user clicks a button or link, and which
Page to display next. The
Page Flow relies on the
Service Definition to maintain specifications of all operations available to the application. These operations might be defined in web services external to the application, they might be locally-defined code or other operations. Similarly, the
Page Flow relies on the
Data Models to maintain a definition of the connection to each database, along with a logical representation of the data in that database.
The following figure loosely illustrates the roles of the various files within the application. The
Page Flow coordinates the flow of the application and determines which
Page to display in the client browser. The
Data Models and
Service Definitions provide a consistent application interface to the wide variety of data and operations that the application can access internally (custom code services,
Pages) as well as externally (in web services and databases).