PHP Classes

lightweight MVC: Implements the MVC design pattern

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,928 All time: 2,043 This week: 188Up
Version License PHP version Categories
lightweight-mvc 3.0GNU Lesser Genera...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
  Performance   Level  
Name: Martin Barker <contact>
Classes: 14 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 2x

  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%2
Total:1,928
This week:0
All time:2,043
This week:188Up
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:65%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2121
 
Good for beginners who want to understand MVC
12 years ago (John Ryder)
70%StarStarStarStar