PHP Application Framework


We have envisaged a technology framework to facilitate development of web applications with PHP. The framework adopts MVC design pattern as it naturally fits into a web architecture.

ash.MVC FrameworkThere are four constituents of this framework:

  1. Web browser: Thin client that is responsible to send HTTP request to web server, to render HTTP response for viewing, and to provide computing platform for client-side scripting.
  2. Controller: A PHP source file that handles HTTP request directly, and that controls the entire script execution cycle.
  3. Model: A set of PHP class files that stores the business logic of the application.
  4. View: A set of HTML files with dispersed PHP, Javascript, Flash and CSS that store the user interface information of application.
These four elements interact with one another to establish a data-flow that is initiated by HTTP request from a client browser. The data-flow successfully completes its life-cycle with the receipt of HTTP response back at the client browser. Other resources that may help you start using this framework are: