<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Web Mozarts</title>
	<atom:link href="http://webmozarts.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://webmozarts.com</link>
	<description>On The Art Of Web Development</description>
	<lastBuildDate>Fri, 16 Mar 2012 08:20:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Symfony2 Form Architecture by La veille du week-end (vingt-huitième) &#124; LoïcG</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-18357</link>
		<dc:creator>La veille du week-end (vingt-huitième) &#124; LoïcG</dc:creator>
		<pubDate>Fri, 16 Mar 2012 08:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-18357</guid>
		<description>[...] Symfony2 Form Architecture : via @mojoLyon [...]</description>
		<content:encoded><![CDATA[<p>[...] Symfony2 Form Architecture : via @mojoLyon [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Christoph Hautzinger</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-18255</link>
		<dc:creator>Christoph Hautzinger</dc:creator>
		<pubDate>Tue, 13 Mar 2012 16:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-18255</guid>
		<description>Hey Bernhard, thanks for your very good post about Symfony2 forms architecture.

I wish, all the symfony components would have such a great architectural-documentation.

Keep up the good work!

Christoph</description>
		<content:encoded><![CDATA[<p>Hey Bernhard, thanks for your very good post about Symfony2 forms architecture.</p>
<p>I wish, all the symfony components would have such a great architectural-documentation.</p>
<p>Keep up the good work!</p>
<p>Christoph</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Bernhard</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17801</link>
		<dc:creator>Bernhard</dc:creator>
		<pubDate>Thu, 08 Mar 2012 08:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17801</guid>
		<description>@Hari: It is true that the whole, feature-complete form component (including all of the extensions) has many dependencies. But this is not really avoidable. The form component contentrates on what it can do best - abstracting and processing forms. It doesn&#039;t care about validation, output escaping, templating etc., and uses external libraries for that purpose. If you don&#039;t like the external libraries, you can implement your own layer that uses your own library.

@Daniel: I&#039;m aware of these problems and want to fix them soon.</description>
		<content:encoded><![CDATA[<p>@Hari: It is true that the whole, feature-complete form component (including all of the extensions) has many dependencies. But this is not really avoidable. The form component contentrates on what it can do best &#8211; abstracting and processing forms. It doesn&#8217;t care about validation, output escaping, templating etc., and uses external libraries for that purpose. If you don&#8217;t like the external libraries, you can implement your own layer that uses your own library.</p>
<p>@Daniel: I&#8217;m aware of these problems and want to fix them soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Daniel</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17713</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 07 Mar 2012 18:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17713</guid>
		<description>The biggest problem with third parties adopting Symfony forms is how they handle validation and form data.

Everything is geared towards hydrating objects with Symfony&#039;s validation attached there to (either through DI, annotations, or what have you) and it&#039;s very unwieldy to operate outside of a Symfony2 context.

I recently integrated Symfony2 Form into a SlimPHP application and while it got off the ground fairly well (documentation on integration outside of Symfony is very weak, took some hacking to figure out how to get it up and running) the validation was a mess. I had to bring in Symfony2 Validation (which honestly is okay) but integrated it in a weird fashion.

If you check out this pastie: http://pastie.org/3543000 that is what I had to do to validate this checkout form.

Preferably validation constraints would be attached to each field at scaffold time, since validators are ALREADY associated with a field. The architecture decision wouldn&#039;t be as painful if setting a field required validated on the backend (it does not, it only sets the required html5 attribute, you have to add the notblank validator by hand).

Not to completely knock it, it integrated well (if a bit painful due to lack of documentation). The validation workflow however is going to be the biggest pain they have and is an area that needs major improvement.</description>
		<content:encoded><![CDATA[<p>The biggest problem with third parties adopting Symfony forms is how they handle validation and form data.</p>
<p>Everything is geared towards hydrating objects with Symfony&#8217;s validation attached there to (either through DI, annotations, or what have you) and it&#8217;s very unwieldy to operate outside of a Symfony2 context.</p>
<p>I recently integrated Symfony2 Form into a SlimPHP application and while it got off the ground fairly well (documentation on integration outside of Symfony is very weak, took some hacking to figure out how to get it up and running) the validation was a mess. I had to bring in Symfony2 Validation (which honestly is okay) but integrated it in a weird fashion.</p>
<p>If you check out this pastie: <a href="http://pastie.org/3543000" rel="nofollow" target="_blank" class="liexternal">http://pastie.org/3543000</a> that is what I had to do to validate this checkout form.</p>
<p>Preferably validation constraints would be attached to each field at scaffold time, since validators are ALREADY associated with a field. The architecture decision wouldn&#8217;t be as painful if setting a field required validated on the backend (it does not, it only sets the required html5 attribute, you have to add the notblank validator by hand).</p>
<p>Not to completely knock it, it integrated well (if a bit painful due to lack of documentation). The validation workflow however is going to be the biggest pain they have and is an area that needs major improvement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Lukas</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17700</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Wed, 07 Mar 2012 15:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17700</guid>
		<description>@chris: Monolog provides a fair number of things that Zend_Log didn&#039;t. Not sure if at the time of the switch it was ported to namespaces yet. BTW Monolog is a PHP port of a very mature Python library (same applies to Assetic too btw).

Now as for what ZF has that Symfony2 doesn&#039;t. Quite a lot outside of the MVC.

For example the Feed component in ZF is probably the best library for handling RSS/Atom feeds since it surpassed the PEAR library with the last big iteration.

Then there is still like the Services components which mostly provide stuff that I have not seen anyone in the Symfony2 community.</description>
		<content:encoded><![CDATA[<p>@chris: Monolog provides a fair number of things that Zend_Log didn&#8217;t. Not sure if at the time of the switch it was ported to namespaces yet. BTW Monolog is a PHP port of a very mature Python library (same applies to Assetic too btw).</p>
<p>Now as for what ZF has that Symfony2 doesn&#8217;t. Quite a lot outside of the MVC.</p>
<p>For example the Feed component in ZF is probably the best library for handling RSS/Atom feeds since it surpassed the PEAR library with the last big iteration.</p>
<p>Then there is still like the Services components which mostly provide stuff that I have not seen anyone in the Symfony2 community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by chris</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17698</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 07 Mar 2012 13:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17698</guid>
		<description>I&#039;m curious...it was mentioned above that Symfony used to use Zend_Log in its logging, but that it no longer does. So I see a lot of &quot;Zend Framework is duplicating what Symfony does&quot; but not a lot of &quot;Zend Framework&#039;s ____ component does this better, Symfony devs should use that&quot;. Last time I checked, interoperability is a two-way street.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious&#8230;it was mentioned above that Symfony used to use Zend_Log in its logging, but that it no longer does. So I see a lot of &#8220;Zend Framework is duplicating what Symfony does&#8221; but not a lot of &#8220;Zend Framework&#8217;s ____ component does this better, Symfony devs should use that&#8221;. Last time I checked, interoperability is a two-way street.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Hari K T</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17692</link>
		<dc:creator>Hari K T</dc:creator>
		<pubDate>Wed, 07 Mar 2012 10:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17692</guid>
		<description>Great Post to learn about the Symfony 2 form, and how it was born.
I don&#039;t have any disrespect for Symfony2 or ZF2 .
If the API name is same, doesn&#039;t means the inner codes are also same . I don&#039;t even know how many of you tried Symfony2 form to make use of a Standalone component .
The people who says its standalone is not the real fact, they really need to make some changes in-order to incorporate and which may be hard to look, and learn why the implementation was made.
I recently wrote a blog post regarding my experience working with Symfony2 form , and also have a link to a form component which seems almost standalone .
You can read the post over http://harikt.com/standalone-form-component-for-php
I am open to hear your feedback too .</description>
		<content:encoded><![CDATA[<p>Great Post to learn about the Symfony 2 form, and how it was born.<br />
I don&#8217;t have any disrespect for Symfony2 or ZF2 .<br />
If the API name is same, doesn&#8217;t means the inner codes are also same . I don&#8217;t even know how many of you tried Symfony2 form to make use of a Standalone component .<br />
The people who says its standalone is not the real fact, they really need to make some changes in-order to incorporate and which may be hard to look, and learn why the implementation was made.<br />
I recently wrote a blog post regarding my experience working with Symfony2 form , and also have a link to a form component which seems almost standalone .<br />
You can read the post over <a href="http://harikt.com/standalone-form-component-for-php" rel="nofollow" target="_blank" class="liexternal">http://harikt.com/standalone-form-component-for-php</a><br />
I am open to hear your feedback too .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Stephen S. Musoke</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17691</link>
		<dc:creator>Stephen S. Musoke</dc:creator>
		<pubDate>Wed, 07 Mar 2012 09:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17691</guid>
		<description>First of all I am a Zend Framework 1 developer, who has been enviously eyeing Symfony2 for some time, but cannot use it in my day-to-day work because of other developers in my team.

However I have just completed an integration activity to use Symfony2 validators with Doctrine2 in ZF1, and I have to say it was an eye opening experience, since each of the Symfony components is stand alone so you can use it without the others, which is excellent foresight and can only be compared to what Rod Johnson of Springsource did for Java a few years ago. Disruptive innovation to simplify development. 

Egos aside, ZF2 is still in beta while Symfony2 is already in production and growing by leaps and bounds, so the view and form layers are things that I see they should collaborate on, just like Symfony uses Doctrine2 Annotations support. 

Drupal has chosen Symfony2 as the basis for the CMS, but is contributing rigorous documentation standards to the project which in my case is a +10000.</description>
		<content:encoded><![CDATA[<p>First of all I am a Zend Framework 1 developer, who has been enviously eyeing Symfony2 for some time, but cannot use it in my day-to-day work because of other developers in my team.</p>
<p>However I have just completed an integration activity to use Symfony2 validators with Doctrine2 in ZF1, and I have to say it was an eye opening experience, since each of the Symfony components is stand alone so you can use it without the others, which is excellent foresight and can only be compared to what Rod Johnson of Springsource did for Java a few years ago. Disruptive innovation to simplify development. </p>
<p>Egos aside, ZF2 is still in beta while Symfony2 is already in production and growing by leaps and bounds, so the view and form layers are things that I see they should collaborate on, just like Symfony uses Doctrine2 Annotations support. </p>
<p>Drupal has chosen Symfony2 as the basis for the CMS, but is contributing rigorous documentation standards to the project which in my case is a +10000.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by umpirsky</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17688</link>
		<dc:creator>umpirsky</dc:creator>
		<pubDate>Wed, 07 Mar 2012 08:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17688</guid>
		<description>It&#039;s really sad that both Zend and Symfony ignore each other. I remember when Symfon2 used Zend_Log in early days, but then replaced it with monolog. They are both on github and should work together whenever that have sense. That woul be great for PHP community.</description>
		<content:encoded><![CDATA[<p>It&#8217;s really sad that both Zend and Symfony ignore each other. I remember when Symfon2 used Zend_Log in early days, but then replaced it with monolog. They are both on github and should work together whenever that have sense. That woul be great for PHP community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Symfony2 Form Architecture by Klemens Ullmann-Marx</title>
		<link>http://webmozarts.com/2012/03/06/symfony2-form-architecture/comment-page-1/#comment-17687</link>
		<dc:creator>Klemens Ullmann-Marx</dc:creator>
		<pubDate>Wed, 07 Mar 2012 07:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://webmozarts.com/?p=524#comment-17687</guid>
		<description>Thank you for this interesting post Bernhard. I didn&#039;t have time to look into symfony2 yet, but the form area is surly a topic where much can be improved, and standardised. Your effort is welcome.</description>
		<content:encoded><![CDATA[<p>Thank you for this interesting post Bernhard. I didn&#8217;t have time to look into symfony2 yet, but the form area is surly a topic where much can be improved, and standardised. Your effort is welcome.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

