PHP Classes

PHP Controller: Implements a controller of MVC applications

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 3,427 All time: 995 This week: 560Up
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: 936130 in United States United States
Week rank: 197 Up20 in United States United States Up

  Files folder image Files (8)  
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 (8)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,427
This week:0
All time:995
This week:560Up
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:488
 
Excellent
15 years ago (kishore kumar)
80%StarStarStarStarStar
Examples don't work.
16 years ago (Barton Phillips)
47%StarStarStar