Page 1 of 1

Posted: Sat Dec 29, 2007 5:45 am
by staar2
I got also one question about routing. Which url should i use ?
1) index.php?/controller/action/arg1/arg2/ -- here i use $_SERVER['REQUEST_URI']
2) index.php?route=controller/action/arg1/arg2/arg3 - $_GET
3) index.php?controller=cont&action=index&args=.... $_GET

Or use all of them just make option in config file to change which to use ?

Posted: Mon Dec 31, 2007 7:40 pm
by Christopher
If you have your Router modify your Request object rather than providing information directly to the Controller then you can pretty easily support all styles.