Quince PHP Controller

Home

This project implements an application controller in PHP, similar to that of Struts for JavaServer Pages. The controller is an important part for designing MVC (Model-View-Controller) applications. The MVC paradigm separates applications into three parts: the model, the view, and the controller.

Quince implements the controller part, plus tools for interacting with the other parts, and gives applications a single entry point (front controller), from which the user sends all requests to from the view to model, removing the need to always have to write code describing how the data will interact with the display. The strict, but powerful format allows for pages to be throught of as modules that return data and can presented with any application presentation, including Smarty, PHP or any scripting language that can access PHP variables.

If desired, one could return XML data structures with XML Serializer. These XML data structures can be accessible with other applications by accessing directly using direct access to the file output, such as REST model or with SOAP.

Quince gives PHP applications a consistent structure in the way applications are designed. It might seem cumbersome at first, but the advantages of breaking an application into smaller pieces becomes more apparent as the application grows.The dynamic URLs, which redirect URL patterns to specific classes allows the developer and designer (software designer) of a web application to

This project is strongly influenced by to the way current Java Pages are handled and makes strong use of PHP classes for all pages. The controller itself is an XML file which determines which classes are accessible by whom. It also uses an aliases system which allows any of you classes to have their own URL, not tied down to filename. The controller also encourages using template engines such as Smarty.

For more information about this MVC Controllers please see: