News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Working With Controllers in Symfony 2
May 15, 2014 @ 10:44:34

The NetTuts.com site has posted a new screencast looking at using one particular part of a Symfony2-based application, the controllers. In this new addition to their series (there's more on routing and some of the basics) they introduce you to the basic handling of controllers and how to make them work.

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. [...] I hope this video has show 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 screencast, they start with the "WelcomeController" to show you the basic structure of the class and the action methods they hold. There's also an example of the commands you'll need to do the controller generation and what all is included in the result (controller, template, route, etc).

0 comments voice your opinion now!
symfony2 controller screencast tutorial introduction

Link: http://code.tutsplus.com/tutorials/working-with-controllers-in-symfony-2--cms-21111

blog comments powered by Disqus

Similar Posts

MakeBeta Blog: Scraping Links With PHP

Jani Hartikainen's Blog: Using a builder to construct complex classes

Stefan Mischook's Blog: Object Oriented PHP Tutorial Updated - Steps 18 - 22

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 5)

Kevin Schroeder's Blog: Connecting to the Zend Developer Cloud using NetBeans for PHP


Community Events





Don't see your event here?
Let us know!


symfony community threedevsandamaybe interview list language conference developer zendserver framework code api series tips release deployment introduction laravel bugfix podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework