<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 22:09:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Web Mozarts: Symfony2 Form Architecture]]></title>
      <guid>http://www.phpdeveloper.org/news/17639</guid>
      <link>http://www.phpdeveloper.org/news/17639</link>
      <description><![CDATA[<p>
In <a href="http://webmozarts.com/2012/03/06/symfony2-form-architecture/">this new post</a> to the Web Mozarts site, <i>Bernhard</i> talks about the architecture behind the current Symfony2 forms implementation and how it handles the requests your forms make.
</p>
<blockquote>
<a href="http://symfony.com/">Symfony2</a> features a brand-new <a href="https://github.com/symfony/Form">Form component</a> 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.
</blockquote>
<p>
The post is broken up into several different sections, each detailing a different aspect of this Forms functionality:
</p>
<ul>
<li>It's influences from other frameworks
<li>Key aspects it provides
<li>Abstraction (reusable code)
<li>Extensibility
<li>Compositionality
<li>Separation of Concerns
<li>Model Binding
<li>Dynamic Behavior
</ul>
<p>
Both a <a href="http://webmozarts.com/wp-content/uploads/2012/03/high-level-architecture.png">high-level architecture</a> and <a href="http://webmozarts.com/wp-content/uploads/2012/03/class-diagram2.png">low-level architecture</a> are provided, showing you the internal flow behind the form handling. You can find out more about this component <a href="http://symfony.com/doc/current/book/forms.html">in the Symfony manual</a> or peek into <a href="https://github.com/symfony/Form">the code on github</a>.
</p>]]></description>
      <pubDate>Wed, 07 Mar 2012 11:13:31 -0600</pubDate>
    </item>
  </channel>
</rss>
