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

NetTuts.com:
Creating Reusable Forms in Symfony 2
May 28, 2014 @ 17:53:55

NetTuts.com continues their series covering some of the basics of using the Symfony2 framework with this new screencast looking at creating reusable forms.

In this video, we'll build upon our existing knowledge of Symfony 2 to learn how to create reusable forms. We'll learn how to create a separate form class to house our form logic, build the form in a controller and then render it to the browser, from a template.

In the previous parts of the series they built up knowledge on the basics, routing, controllers and templates. In this screencast they use their DemoBundle to create the Person object, make a form populated with its data (name) and the Twig template to render the form.

tagged: symfony2 series tutorial screencast reusable forms

Link: http://code.tutsplus.com/tutorials/creating-reusable-forms-in-symfony-2--cms-21244


Trending Topics: