Chapter 9. Links and the Routing System

Links and URLs deserve particular treatment in a web application framework. This is because the unique entry point of the application (the front controller) and the use of helpers in templates allow for a complete separation between the way URLs work and their appearance. This is called routing. More than a gadget, routing is a useful tool to make web applications even more user-friendly and secure. This chapter will tell you everything you need to know to handle URLs in your symfony applications:

  • What the routing system is and how it works

  • How to use link helpers in templates to enable routing of outgoing URLs

  • How to configure the routing rules to change the appearance of URLs

You will also find a few tricks ...

Get The Definitive Guide to symfony now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.