O'Reilly logo

Extending Symfony2 Web Application Framework by Sébastien Armand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required