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

Symfony Blog:
Form Goodness in Symfony 2.1
Jul 30, 2012 @ 18:41:26

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
tagged: symfony2 form component improvement

Link:


Trending Topics: