PHP CODE

 

The four layer

Juno MDA addopts a Component Based Development Approach, it creates the four tier: tTier, the eTier, the wTier and the uTier; and the relationship between the tier.

Page up

 

User tier

In the user tier there are the classes that draw the user interface; user interface directive for inserting, modifying, viewing deleting data and the user interface for managing all the relationships between classes.
This tier is the front-end of the application, it is the only interactive way to communicated with the application.
The user tier is made of Smarty templates. Smarty is a PHP template engigne, it separates application logic and content from its presentation. JunoMda(TM) creates the Smarty templates and the required PHP infrastructure. The user could modify only the Smarty template to personalize the user interfaces.

Page up

 

Workspace tier

In the workspace tier there are methods that delegates to the enterprise;
it contains all the methods for reading the user response and for converting them into enterprise format, and methods for reading the enterprise data format and converting into user tier data format.

Page up

 

enterprise tier

Inside the enterprise tier there are methods for implementing the business rules.
Such methods manipulate the data, apply the business rules, generates the primary key, converts data from the user tier and prepare data for the resource tier.

Page up

 

Resource Tier

Into the resource tier there are methods to persist and read data from a persistency.
This tier contains database connection and methods to interact with it.

Page up

 

Snapshoots

Snapshoots

Page up