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 45%Total: 1,370 All time: 2,832 This week: 209Up
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: 4029 in Philippines Philippines
Week rank: 553 Down8 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  
This week:0
All time:2,832
This week:209Up
User Ratings User Comments (1)
 All time
simple code.
11 years ago (Jerry Andag)