PHP Classes

BootLoader: Load controller classes according route parameters

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
Not enough user ratingsTotal: 271 All time: 7,712 This week: 455Up
Version License PHP version Categories
bootloader 1.0.0Free for non-comm...5PHP 5, Libraries, Design Patterns
Description 

Author

This is a simple package can load controller classes according route parameters.

It checks a route request parameters and loads the respective controller class if it exists, as well a database access class.

If the controller class for the specified route does not exist, it calls the router class to handle code 404.

Picture of Mostafa Abd-El-Hamid
  Performance   Level  
Name: Mostafa Abd-El-Hamid <contact>
Classes: 23 packages by
Country: Egypt Egypt
Age: 40
All time rank: 5595 in Egypt Egypt
Week rank: 214 Up2 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 5x

Details

RoutingSys

Routing to Controllers with __init();


  Files folder image Files (4)  
File Role Description
Files folder imagelibs (2 files)
Plain text file Bootloader.php Class Class source
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files (4)  /  libs  
File Role Description
  Plain text file Db.php Class Class source
  Plain text file Router.php Class Class source

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  
 100%
Total:271
This week:0
All time:7,712
This week:455Up