Login   Register  
PHP Classes
elePHPant
Icontem

lightweight 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 (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-04-12 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 1,677 This week: 4All time: 2,171 This week: 391Up
Version License PHP version Categories  
lightweight-mvc 3.0GNU Lesser General Publ...5.2PHP 5, Libraries, Design Patterns
Description Author  

This package implements the MVC design pattern.

It provides based model, view and controller class that should be derived to implement new applications.

It can get data from the browser secured with addslashes to prevent uses exploiting the system though GET, POST or URL data.

It uses MySQLi for database access.

Picture of martin barker
Name: martin barker <contact>
Classes: 12 packages by
Country: United Kingdom United Kingdom
Age: 25
All time rank: 32215 in United Kingdom United Kingdom
Week rank: 139 Up7 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageconfig (1 file)
Files folder imagecontrollers (2 files)
Files folder imagelibrary (1 file, 1 directory)
Files folder imagemodels (1 file, 1 directory)
Files folder imagepublic_html (2 files)
Files folder imageviews (1 file, 1 directory)
Accessible without login Plain text file .htaccess Data htaccess to check for file and rewrite to index.php if dose not exist
Accessible without login Plain text file bootstrap.php Example The bootstrap of the MVC this controls loading of controllers and calling Actions
Accessible without login Plain text file crond.php Appl. Searchs Controlers for cronAction and will run the method

  Files folder image Files  /  config  
File Role Description
  Plain text file mysql.php Class Allows mysql to be configured and used for the Models

  Files folder image Files  /  controllers  
File Role Description
  Plain text file controller.php Class This is base controller all other controllers should extend "Controller"
  Plain text file index.php Class Class "controllers_index" this is the default index controller

  Files folder image Files  /  library  
File Role Description
Files folder imagemysql (1 file)
  Plain text file singleton.php Class abstract class for the Singleton implementation

  Files folder image Files  /  library  /  mysql  
File Role Description
  Plain text file querybuild.php Class mysql query builder

  Files folder image Files  /  models  
File Role Description
Files folder imageuser (1 file)
  Plain text file models.php Class this is the base model class all models must extend "Model"

  Files folder image Files  /  models  /  user  
File Role Description
  Plain text file user.php Class a model

  Files folder image Files  /  public_html  
File Role Description
  Accessible without login Plain text file cron.php Appl. allow testing of the cron system from the browser
  Accessible without login Plain text file index.php Example The loader this loads the MVC Bootstrap

  Files folder image Files  /  views  
File Role Description
Files folder imageinclude (1 file)
  Accessible without login Plain text file index.phtml Example Views are loaded into the object calling them E.G controller_index

  Files folder image Files  /  views  /  include  
File Role Description
  Accessible without login Plain text file inc.phtml Data example of how views can be used

 Version Control Reuses Unique User Downloads Download Rankings  
 0%2Total:1,677All time:2,171
 This week:4This week:391Up
 User Comments (1)