3 ms·
This is actually pretty cool, but I'm genuinely curious why it's advantageous to write the routes in the controller files instead of one central place that's ea
by edb 18y ago
This is actually pretty cool, but I'm genuinely curious why it's advantageous to write the routes in the controller files instead of one central place that's easily maintained?
CakePHP, (http://book.cakephp.org/view/46/Routes-Configuration http://book.cakephp.org/view/46/Routes-Configuration) for example, can do all of what this does out of the box without the need for an application to monitor your routes.
REST also seems very well implemented : http://book.cakephp.org/view/476/REST http://book.cakephp.org/view/476/REST
Am I missing something? Can someone explain the benefits?