Advertisement

Routing Overview & Basics in Symfony 2

by

This Cyber Monday Tuts+ courses will be reduced to just $3 (usually $15). Don't miss out.

This post is part of a series called Working with Symfony 2.
Symfony 2: The Basics
Working With Controllers in Symfony 2

Today we're going to work more with Symfony 2 where we'll explore the basics of building web applications using this awesome framework. 

Symfony 2 Routing Introduction

In the last video, I said we'd take a look at controllers next, but I actually feel it may be easier to learn the framework in a slightly different order. Instead, we're going to learn about the basics of Symfony 2 routing, to give our applications clean and pretty URLs and make it easy to manage our applications URLs and links. 

We're not going to get too detailed, as Symfony's routing can do quite a bit, but we'll at least cover what we need to know by keeping it straight and to the point:

Conclusion

Hopefully you now have a better understanding of how the basic, default routes work within Symfony 2. It should make more sense once we go over a few more of the main components, such as the Controller and Templates. Thanks for watching.

Advertisement