Login   Register  
PHP Classes
elePHPant
Icontem

PHP Controller: Implements a controller of MVC applications

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-02-06 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 3,378 All time: 957 This week: 1,526Down
Version License PHP version Categories  
php-controller 1.0.0The PHP License3Design Patterns
Description Author  

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.

Picture of None
Name: None <contact>
Classes: 1 package by
Country: United States United States
Age: 32
All time rank: 862111 in United States United States
Week rank: 1843 Down209 in United States United States Down

  Files folder image Files  
File Role Description
Files folder imagePages (3 files)
Accessible without login Plain text file .htaccess Data enable modrewrite and direct traffic to index
Plain text file Controller.class.php Class Controller file for building web applications with only classes
Accessible without login HTML file Controller.html Doc. PHPDoc generated documentation
Accessible without login Plain text file controller.xml Data example controller xml file which controller.class loadds
Accessible without login Plain text file index.php Example an example index.php file

  Files folder image Files  /  Pages  
File Role Description
  Plain text file Administrator.class.php Class an example webclass
  Plain text file Authentication.class.php Class an example webclass
  Plain text file Forum.class.php Class an example webclass

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,378All time:957
 This week:0This week:1,526Down
 User Comments (2)  
 
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar
Examples don't work.
6 years ago (Barton Phillips)
47%StarStarStar