PHP Classes

Build Simple OO MVC: Implements the MVC design pattern

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 43%Total: 1,371 This week: 1All time: 2,833 This week: 560Up
Version License PHP version Categories
simple-mvc 1GNU General Publi...5PHP 5, Design Patterns
Description 

Author

This class implements the MVC design pattern.

It provides an abstract class that should be derived to implement actual controller classes.

The base class can call the controller main function that can load any needed model classes if necessary to retrieve any model data.

The view function can load output template scripts and pass template variables in an array to be used in the template scripts.

Picture of jeffrey Afable
Name: jeffrey Afable <contact>
Classes: 4 packages by
Country: Philippines Philippines
Age: ???
All time rank: 4049 in Philippines Philippines
Week rank: 411 Down4 in Philippines Philippines Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Data htaccess file
Plain text file model1.php Class Sample Model class
Accessible without login Plain text file view1.tpl.php Aux. Sample View page
Accessible without login Plain text file index.php Example Starter
Plain text file controller1.php Class Sample Controller
Plain text file simple_mvc.php Class Main MVC class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,371
This week:1
All time:2,833
This week:560Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:56%StarStarStar
Tests:-
Videos:-
Overall:43%StarStarStar
Rank:3538
 
simple code.
12 years ago (Jerry Andag)
67%StarStarStarStar