PHP Classes

PHP Controller: Implements a controller of MVC applications

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 3,426 All time: 994 This week: 257Up
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: 41
All time rank: 936129 in United States United States
Week rank: 312 Up38 in United States United States Up

  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,426
This week:0
All time:994
This week:257Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:497
 
Excellent
14 years ago (kishore kumar)
80%StarStarStarStarStar
Examples don't work.
15 years ago (Barton Phillips)
47%StarStarStar