Welcome Guest, Not a member yet? Register   Sign In
Another Route Regex
#4

[eluser]xwero[/eluser]
Why? i guess there won't be too many of those hyphened controllers because a part is already split by the method names, for example blog/add - blog/edit - blog/archive - and so on.
And methods should be as short as possible, you're going to use something like blog/blog-add.

I think it's best to create specific routes instead of cache-all routes because if you give controllers and methods short but descriptive the need for routes like this will be minimal.


Messages In This Thread
Another Route Regex - by El Forum - 05-09-2009, 02:54 AM
Another Route Regex - by El Forum - 05-09-2009, 03:32 AM
Another Route Regex - by El Forum - 05-09-2009, 03:37 AM
Another Route Regex - by El Forum - 05-09-2009, 07:21 AM
Another Route Regex - by El Forum - 05-09-2009, 09:58 AM
Another Route Regex - by El Forum - 05-09-2009, 02:25 PM
Another Route Regex - by El Forum - 05-09-2009, 02:27 PM
Another Route Regex - by El Forum - 05-09-2009, 11:40 PM
Another Route Regex - by El Forum - 07-27-2009, 09:58 AM
Another Route Regex - by El Forum - 07-27-2009, 11:56 AM
Another Route Regex - by El Forum - 07-27-2009, 12:13 PM
Another Route Regex - by El Forum - 07-27-2009, 01:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB