PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Symfony Blog: Form Goodness in Symfony 2.1

Note: This article was originally published at PHPDeveloper on 31 July 2012.
PHPDeveloper

On the Symfony blog there's a new post from Bernhard Schussek about some of the changes that have happened in the Forms component of the Symfony 2 framework (in version 2.1).

Those of you who already upgraded to Symfony 2.1 Beta probably noticed that the new version comes with many backwards compatibility breaks in the Form component. Many of you probably ask yourselves: Why? The simple answer is that the Form component is one of the most complex components in Symfony at all.

They list out some of the improvements (plus code showing then at work) for changes like:

  • No more bindRequest()
  • Custom field constraints
  • Error mapping fu
  • Collection improvements