Login   Register  
PHP Classes
elePHPant
Icontem

Build Simple OO MVC: Implements the MVC design pattern

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 (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-20 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,257 This week: 1All time: 2,819 This week: 1,439Up
Version License PHP version Categories  
simple-mvc 1GNU General Public Lice...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: 57510 in Philippines Philippines
Week rank: 51 Up1 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,257All time:2,819
 This week:1This week:1,439Up
 User Comments (1)  
 
simple code.
2 years ago (Jerry Andag)
67%StarStarStarStar