Routing

Discussion in "Digital and Video Cameras" started by John Smith, on 10/12/17

John Smith, on 10/12/17
Routing provides you tools that map URLs to controller actions. By defining routes, you can separate how your application is implemented from how its URL’s are structured.
John Smith, on 10/12/17
Routing in CakePHP also encompasses the idea of reverse routing, where an array of parameters can be transformed into a URL string. By using reverse routing, you can re-factor your application’s URL structure without having to update all your code.