Book Image

Extending Symfony2 Web Application Framework

By : Sebastien Armand
Book Image

Extending Symfony2 Web Application Framework

By: Sebastien Armand

Overview of this book

Table of Contents (13 chapters)

Summary


This chapter presented an in-depth view of the possibilities offered to you by the form framework within Symfony. It might seem a complex thing at first, but if you understand the basic parts, it's easy to find your way around.

You can now create your own form widgets that can be used just as any of the base widgets, treating a map as a new type of input field. You also know how to use a data transformer in order to have different representations of the same information that fit within the model, the form, or the view. If you want to practice your form skills, you can try some of the following:

  • Create a form for messaging that includes an AJAX field for friend selection

  • Create a form that accepts a collection of our coordinate type

Now that we have a good hold on many extension possibilities in Symfony, it is time to get into one of the most technical and difficult topics: Security. There is a lot to be said since security can be understood in many ways and touches many areas of your...