Websydian v6.1 online documentationOnline documentation - Websydian v6.1

Using Diagrams in Websydian



The model structure required by Websydian leads to useful diagrams.  Below is outlined a simple example Web Application to illustrate how the corresponding CA Plex Diagram provides a good overview of the application.

An Example Web Application Flow

The example used to illustrate this point allows the user to list some items from a database, add new items to the list and delete items from the list.  To keep the example simple, an item cannot be changed once it has been added.

Page Structure

The application consists of three pages:

Model Structure

Conforming to the function structure required by Websydian, the following functions are defined:

Call Structure

The call structure of the example is straightforward:

The Resulting Diagram

The example application described above yields the following CA Plex diagram:

Diagram defining simple Websydian functionality

The point here is that the diagram tells quite a bit of the story described so laboriously above:

Basically, all of the fundamental structure of the application can be shown using the CA Plex Diagram Editor.

Using the Diagram Editor in Development

Just like any other CA Plex application, it is sometimes advantageous to do parts of the development of a Websydian application by using the Diagram Editor.  In the initial stages of the development, not least because you tend to structure the application by using the web pages as the organizing principle anyway, this approach lets the developers maintain a high-level view on the entire application.

The Triples

For reference, the figure below shows a Model Editor listing the triples corresponding to the diagram above:

Triple declarations for diagram example

The triple declarations of the example application defined above.