PHP Classes

MVC Like Modular Framework: Framework that implements the MVC design pattern

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 3,034 All time: 1,210 This week: 673Up
Version License PHP version Categories
mvclike 1.0.0Freeware4.0.4Libraries, Design Patterns
Description 

Author

This package is a framework that implements the MVC design pattern.

It works in such way that each URL directory of an application has its own module.

Each module is implemented by a class with a name based on the directory name. That class loads the view and action classes.

Picture of Shawn McAllister
Name: Shawn McAllister <contact>
Classes: 1 package by
Country: United States United States
Age: 55
All time rank: 1063152 in United States United States
Week rank: 170 Up21 in United States United States Up

Details

LICENSE: Feel free to use it anyway you like. This application is kind of like an MVC setup except that I don't really like the way MVC frameworks work so I made this instead. The idea is that each url segment for your application (ie. /admin/) would have it's own module and views and that the application would work in PHP 4. I haven't really commented the code... but if you look at it you should be able to figure out how it works fairly easily. To test: Just upload the files to the root of your domain. Make sure you have mod_rewrite installed. navigate to http://www.yourdomain.com to test the defaultModule class navigate to http://www.yourdomain.com/test/ to test the testModule class navigate to http://www.yourdomain.com/blah/ to test the errorModule class

  Files folder image Files (21)  
File Role Description
Files folder imageApplication (1 directory)
Files folder imageModules (3 files)
Files folder imageViews (3 directories)
Accessible without login Plain text file .htaccess Example htaccess
Accessible without login Plain text file index.php Example bootstrap
Accessible without login Plain text file readme.txt Doc. README

  Files folder image Files (21)  /  Application  
File Role Description
Files folder imageclasses (2 files)

  Files folder image Files (21)  /  Application  /  classes  
File Role Description
  Plain text file router.class.php Class Router Class
  Plain text file view.class.php Class View Class

  Files folder image Files (21)  /  Modules  
File Role Description
  Plain text file defaultModule.php Class Default Module Class
  Plain text file errorModule.php Class Error Module Class
  Plain text file testModule.php Class Test Module Class

  Files folder image Files (21)  /  Views  
File Role Description
Files folder imagedefault (4 files)
Files folder imageerror (5 files)
Files folder imagetest (4 files)

  Files folder image Files (21)  /  Views  /  default  
File Role Description
  Accessible without login Plain text file default_index.php Example Default View Index
  Accessible without login Plain text file footer.php Example Default Footer
  Accessible without login Plain text file header.php Example Default Header
  Accessible without login Plain text file index.php Example Index

  Files folder image Files (21)  /  Views  /  error  
File Role Description
  Accessible without login Plain text file error_default.php Example Error Default View
  Accessible without login Plain text file error_notfound.php Example 404 View
  Accessible without login Plain text file footer.php Example Error Footer
  Accessible without login Plain text file header.php Example Error Header
  Accessible without login Plain text file index.php Example Index

  Files folder image Files (21)  /  Views  /  test  
File Role Description
  Accessible without login Plain text file footer.php Example Test Footer
  Accessible without login Plain text file header.php Example Test Header
  Accessible without login Plain text file index.php Example Index
  Accessible without login Plain text file test_default.php Example Test Default View

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,034
This week:0
All time:1,210
This week:673Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1704