News Feed
Sections




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

Web Mozarts:
Symfony2 Form Architecture
March 07, 2012 @ 11:13:31

In this new post to the Web Mozarts site, Bernhard talks about the architecture behind the current Symfony2 forms implementation and how it handles the requests your forms make.

Symfony2 features a brand-new Form component that, to my knowledge, supersedes most existing PHP form libraries in functionality and extensibility (not counting the still lacking, native JavaScript support). [...] The purpose of this post is to demonstrate that the Symfony2 Form component is perfectly suited for this requirement. Symfony2-specific functionality can be unplugged, leaving only the raw core dealing with form processing and abstraction.

The post is broken up into several different sections, each detailing a different aspect of this Forms functionality:

  • It's influences from other frameworks
  • Key aspects it provides
  • Abstraction (reusable code)
  • Extensibility
  • Compositionality
  • Separation of Concerns
  • Model Binding
  • Dynamic Behavior

Both a high-level architecture and low-level architecture are provided, showing you the internal flow behind the form handling. You can find out more about this component in the Symfony manual or peek into the code on github.

0 comments voice your opinion now!
symfony2 form architecture highlevel lowlevel component


blog comments powered by Disqus

Similar Posts

Rafael Dohms' Blog: Deploying a Symfony2 and Composer app on PagodaBox

IT Jungle: PHP and the Zend Framework

DevShed: Centralizing the Validation of Data with the Observer Pattern in PHP

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 6)

Spindrop.us: Digg-style AJAX comment editing in PHP/symfony


Community Events





Don't see your event here?
Let us know!


release introduction language package voicesoftheelephpant security composer update symfony laravel opinion library tool community interview framework version application series podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework