Login   Register  
PHP Classes
elePHPant
Icontem

Another simple MVC

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of lattuada
Name: lattuada <e-mail contact>
Packages: 3 Browse all classes by lattuada Browse all classes by
Country: France France - PHP jobs in France
Age: ???
All time rank: 65328 in France France
Week rank: 296 Up14 in France France Up


  Detailed description   Download .zip .tar.gz  
This package provides a model view controller framework implementation.

It provides a database access class, a front controller class and a template processing class.

to get started edit the .htaccess and make the rewrite base fit your server
then edit /config/define.php to set your database access.

by now what you may do is: set up a nice error handler function (http://php.net/manual/en/function.set-error-handler.php) and if you need it setup a cache handler too(may record an ob_start callback, and gzencode the content you are sending to browser).


moved here : http://github.com/nicolaslattuada/minimal-php-mvc/

  Classes of lattuada  >  Another simple MVC  >  Download .zip .tar.gz  >  Support forum Support forum (6)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Another simple MVC
Base name: mvc
Description: Model view controller framework implementation
Version: 1
PHP version: 5
License: GNU General Public License (GPL)
All time users: 2761 users
All time rank: 1206
Week users: 9 users
Week rank: 230 Up
 
  Groups   Rate classes User ratings   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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (90.0%)
Good (85.0%)
-
Good (80.0%)
-
-
Sufficient (61.5%)
748
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
xhprof stats xhprof call graph
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 imageclasses (5 files)
Files folder imageconfig (2 files)
Files folder imagemodels (1 file)
Files folder imagemodules (1 directory)
Files folder imagetemplates (1 file)
Files folder imagewww (2 files)

  Files  /  Files folder image classes  
File Role Description
  Plain text file Base.php Class abstract controller
  Plain text file Db.php Class database abstraction layer
  Plain text file Front.php Class front controller class
  Plain text file Template.php Class template class
  Plain text file View.php Class view class

  Files  /  Files folder image config  
File Role Description
  Accessible without login Plain text file defines.php Conf. configuring the app
  Accessible without login Plain text file startup.php Aux. definig some autoload and data filtering

  Files  /  Files folder image models  
File Role Description
  Plain text file Employees.php Class exemple model

  Files  /  Files folder image modules  
File Role Description
Files folder imageindex (1 file, 1 directory)

  Files  /  modules  /  Files folder image index  
File Role Description
Files folder imageviews (3 files)
  Plain text file Index.php Class exemple controller

  Files  /  modules  /  index  /  Files folder image views  
File Role Description
  Accessible without login Plain text file main.phtml Example exemple view script
  Accessible without login Plain text file test.phtml Example exemple view script
  Accessible without login Plain text file test2.phtml Example exemple view script

  Files  /  Files folder image templates  
File Role Description
  Accessible without login Plain text file hello.tpl Data exemple template

  Files  /  Files folder image www  
File Role Description
  Accessible without login Plain text file .htaccess Data htaccess
  Accessible without login Plain text file index.php Example index of the app

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