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

  Author Author  
Picture of martin barker
Name: martin barker <e-mail contact>
Packages: 11 Browse all classes by martin barker Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 24
All time rank: 34616 in United Kingdom United Kingdom
Week rank: 155 Up7 in United Kingdom United Kingdom Up


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of martin barker  >  lightweight MVC  >  Download Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: lightweight MVC
Base name: lightweight-mvc
Description: Implements the MVC design pattern
Version: 3.0
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 1599 users
All time rank: 2228
Week users: 5 users
Week rank: 390 Up
 
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Libraries Frameworks and libraries of cooperating classes View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Packages that need this class  
Class Dependency Why it is needed
lightweight MVC Lang Required Object is built to use
Lightweight MVC MySQL SP Class Required this class is built to use Lightweight MVC

  Applications that use this class  
Link Description
Doxie Promo Doxie Promo is using lightweight VMS built on top of this class
Add link image If you know an application of this package, send a message to the author to add a link here.
  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  /  Files folder image config  
File Role Description
  Plain text file mysql.php Class Allows mysql to be configured and used for the Models

  Files  /  Files folder image 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  /  Files folder image library  
File Role Description
Files folder imagemysql (1 file)
  Plain text file singleton.php Class abstract class for the Singleton implementation

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

  Files  /  Files folder image 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  /  models  /  Files folder image user  
File Role Description
  Plain text file user.php Class a model

  Files  /  Files folder image 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  /  Files folder image 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  /  views  /  Files folder image include  
File Role Description
  Accessible without login Plain text file inc.phtml Data example of how views can be used

Download Download all files: lightweight-mvc.tar.gz lightweight-mvc.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.