This class can be used to implement a generic controller for building applications that follow the Model-View-Controller design pattern.
The controller class acts as a single entry point that forwards the handing of the requests to view and model classes. This avoids the need to have to write code describing how the data will interact with the presentation.
This project is strongly influenced by the way Java applications based on MVC frameworks are handled. It makes extensive use of PHP classes for processing all the pages.
The controller behavior is defined by an XML file that describes which classes are used to serve requests for users with different roles. |