Hostinicon
GET HOSTING FROM $3.95/MO PLUS A FREE YEAR ON TUTS+ (RRP $180). HURRY OFFER LIMITED. Check it out
Advertisement

Working With Controllers in Symfony 2

by
Gift

Get a free year on Tuts+ this month when you purchase a Siteground hosting plan from $3.95/mo

This post is part of a series called Working with Symfony 2.
Routing Overview & Basics in Symfony 2
Working With Templates in Symfony 2

Today we'll take a quick look at controllers from within Symfony 2. The easiest way to get started learning, is to just dive right in, see some code examples and I'll explain everything as we proceed.  If you're ready to begin, you can press play on the video below:


I hope this video has shown you how easy and fun controllers are to work with in Symfony 2. We can use the console to generate them and link everything up so that it all works seamlessly. 

In the next video, we'll move on to the Twig templating engine.

Advertisement