Friday, July 20, 2007

phpFramewerk Architecture

We are using our own architectural pattern similar to
Model-View-Controller (MVC).
MVC is the most used architecture in web applications.

In phpFramewerk we encapsulate data and functions (model) in classes.
The data is stored in variables on the config file or
in the future use of phpFramewerk it will be stored in MySQL and the classes files
are stored in library folder.
The presentation (view) is in
CSS, javascript and HTML files.

phpFramewerk is designed to keep the code in controller files as simple as possible
so that the control flows between user interface,
data handling and the display responds to the user will remain ease.