DooPHP IRC channel


classic way to write routes

Discussion about new desired features.

classic way to write routes

Postby nakp » Fri May 20, 2011 6:28 am

Ok, here is something I love from other frameworks as codeigniter, the classig way to route params

Code: Select all
url.tld/controller/method/[paramN/]


and you have your controller and something like

Code: Select all
public function method($paramN) {



no need to write the routes config for every single method, and it's easier to access your params more than $this->params()

it would be like auto routes but without the numbers... you know, the classic way :)
nakp
 
Posts: 7
Joined: Tue May 03, 2011 3:39 am

Return to Features Request

Who is online

Users browsing this forum: No registered users and 2 guests