Welcome Guest, Not a member yet? Register   Sign In
Feature Request: Routing
#8

(02-12-2015, 08:03 PM)paralogizing Wrote: Check out the AltoRouter at GitHub.  There is no need to make a new feature of it.  I basically took the AltoRouter and whittled it's essential features into my Page Class at BootPress.  There we only have one Controller to rule them all, and when you create a "folder" the $page->routes() will map it from there, AND assign the params of a successful match to whatever variables you like.  Just copy the routes() and altoRouter() methods from the class and you could easily adapt them to your needs.

Interesting!
Reply


Messages In This Thread
Feature Request: Routing - by albertleao - 02-12-2015, 02:10 PM
RE: Feature Request: Routing - by CroNiX - 02-12-2015, 03:43 PM
RE: Feature Request: Routing - by albertleao - 02-12-2015, 04:01 PM
RE: Feature Request: Routing - by albertleao - 02-12-2015, 04:24 PM
RE: Feature Request: Routing - by CroNiX - 02-12-2015, 04:35 PM
RE: Feature Request: Routing - by albertleao - 02-12-2015, 04:39 PM
RE: Feature Request: Routing - by paralogizing - 02-12-2015, 08:03 PM
RE: Feature Request: Routing - by albertleao - 02-12-2015, 08:09 PM
RE: Feature Request: Routing - by Narf - 02-13-2015, 03:58 AM
RE: Feature Request: Routing - by albertleao - 02-13-2015, 05:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB