PHP-Controller 0.6.0 review

Download
by rbytes.net on

PHP-Controller implements the controller for building MVC applications

License: The PHP License
File size: 0K
Developer: Eddie Tejeda
0 stars award from rbytes.net

PHP-Controller implements the controller for building MVC applications. PHP-Controller attempts to implement a simple PHP controller, similar to Struts for Java 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.

- The view manages the graphical output of the application and the user usually interacts with the application through this layer.
- The controller then interprets the actions from the user and depending on the action requested the controller manipulates the model and/or the view.
- The model manages the state and data of the application. It usually responds to requests about its state from the view and responds to instructions to change state the controller.

This project implements the controller and gives applications a single entry point, 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.

PHPC 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.

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. The controller also encourages using template engines such as Smarty.

What's New in This Release:
All releases will be under the LGPL, not the PHP license.
New advanced features in aliases, including dynamic aliases and URL names.
The new version is more portable and uses all relative paths.
It does auto-detection and configuration.
It has detection and validation in forms.
GET, POST, and COOKIE variables are passed through a function parameter list, allowing methods to be reused outside the context of Web forms.
There is a lot of new documentation, major bug fixes, new examples, and new demo application.
The application API is now beta.

PHP-Controller 0.6.0 search tags