PHP Classes
elePHPant
Icontem

Router: Route request to controller based on the URL

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-08-01 (3 years ago) RSS 2.0 feedStarStarStar 49%Total: 973 All time: 3,599 This week: 654Up
Version License PHP version Categories
routing-class 0.1.2Free for non-comm...5.3HTTP, PHP 5, Design Patterns
Description Author

This class can route the current request to controller based on the request URL.

It takes a list of supported routes and tries to match the current request with one of the routes to instantiate the associated controller class and call a given controller function.

The router class may fallback to an error controller if none of the configured routes matches the current request URI.

Name: Rocklviv <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 31
All time rank: 230337 in Ukraine Ukraine
Week rank: 1153 Up18 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Plain text file Router.php Class Main router class
Accessible without login Plain text file routes.php Conf. Routes list

 Version Control Unique User Downloads Download Rankings  
 0%
Total:973
This week:0
All time:3,599
This week:654Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2239