September 2016
Intermediate to advanced
1091 pages
21h 41m
English
In the shortest terms, routing is about linking the controllers with URLs entered in browser. Todays modern web applications need nice URLs. This means moving away from URLs like /index.php?product_id=23 to something like /catalog/product/t-shirt. This is where routing comes in to play.
Symfony has a powerful routing mechanism that enables us to do the following:
The way routing works in Symfony is that all of the requests come through app.php. Then, the Symfony core asks the router to inspect the request. The router then matches the incoming URL to a specific route and returns information ...
Read now
Unlock full access