<?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 on: Response to Andy Jeffries: Why Ruby is better than symfony</title>
	<atom:link href="http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/</link>
	<description>Fabians random thoughts about work and private life</description>
	<lastBuildDate>Sat, 02 Jul 2011 11:40:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gregory</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4726</link>
		<dc:creator>Gregory</dc:creator>
		<pubDate>Fri, 13 Jun 2008 10:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4726</guid>
		<description>I&#039;ve been using symfony for almost 2 years now for our website (millions of visitors per month). I think I know pretty well the limitations that symfony imposes, at least to us. I&#039;ll make it simple: Symfony is good, is very good as a PHP framework. But not good enough for our new requirements.

We need to develop fastly, reliably, and with a minimum number of dirty hacks. Thanks to Symfony we have achieved great things so far. But now is the moment for us to move forward.

We&#039;ll give a few recent examples of things we can&#039;t simply ignore anymore. Sometime, these limitations are surely due to PHP more than Symfony but hey, Symfony is PHP based - for the good and the worse and therefor inherits some of its problems.

1. Propel has behaviours. Great, sounds good; then you see the amount of code you have to inject into your classes to make it work (see example above). Ok not that great but still usable and it&#039;s a PHP limitation here, it couldn&#039;t be done differently anyway. But wait, it also prevents me to use __call() in this class as well ? Not good at all, not flexible enough...

2. Yaml support. Could Symfony support _all_ the features of the language please ?

3. Template caching: ok but not so great. Symfony has template caching for actions, partials and actions + layout (the page is then fully cached). But actually, caching is just half of the problem. Now the question is how can I expire _one_ item of the cache manually ? Short answer: you can&#039;t. Longer answer: you can, but it hurts _a_lot_.
Looks like GIT vs SVN. You can branch easily but then you may struggle when it&#039;s time to merge your changes back to the trunk.

4. Admin generator. Do you guys really thinks it&#039;s the way to go ? Are you really really sure ? Think harder because it&#039;s waaaay too complex to be interesting. Not when you use them, but when you have to modify them (which may or may not happen depending in your requirements).

5. Migrations please. (I know it&#039;s already been said but it&#039;ll really help everyone).

I could continue all the day like that. We&#039;re switching to Rails in 6 months. It&#039;s all planned and budgeted. Thank you Symfony it&#039;s been a pleasure to work on this framework. PHP go to hell.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using symfony for almost 2 years now for our website (millions of visitors per month). I think I know pretty well the limitations that symfony imposes, at least to us. I&#8217;ll make it simple: Symfony is good, is very good as a PHP framework. But not good enough for our new requirements.</p>
<p>We need to develop fastly, reliably, and with a minimum number of dirty hacks. Thanks to Symfony we have achieved great things so far. But now is the moment for us to move forward.</p>
<p>We&#8217;ll give a few recent examples of things we can&#8217;t simply ignore anymore. Sometime, these limitations are surely due to PHP more than Symfony but hey, Symfony is PHP based &#8211; for the good and the worse and therefor inherits some of its problems.</p>
<p>1. Propel has behaviours. Great, sounds good; then you see the amount of code you have to inject into your classes to make it work (see example above). Ok not that great but still usable and it&#8217;s a PHP limitation here, it couldn&#8217;t be done differently anyway. But wait, it also prevents me to use __call() in this class as well ? Not good at all, not flexible enough&#8230;</p>
<p>2. Yaml support. Could Symfony support _all_ the features of the language please ?</p>
<p>3. Template caching: ok but not so great. Symfony has template caching for actions, partials and actions + layout (the page is then fully cached). But actually, caching is just half of the problem. Now the question is how can I expire _one_ item of the cache manually ? Short answer: you can&#8217;t. Longer answer: you can, but it hurts _a_lot_.<br />
Looks like GIT vs SVN. You can branch easily but then you may struggle when it&#8217;s time to merge your changes back to the trunk.</p>
<p>4. Admin generator. Do you guys really thinks it&#8217;s the way to go ? Are you really really sure ? Think harder because it&#8217;s waaaay too complex to be interesting. Not when you use them, but when you have to modify them (which may or may not happen depending in your requirements).</p>
<p>5. Migrations please. (I know it&#8217;s already been said but it&#8217;ll really help everyone).</p>
<p>I could continue all the day like that. We&#8217;re switching to Rails in 6 months. It&#8217;s all planned and budgeted. Thank you Symfony it&#8217;s been a pleasure to work on this framework. PHP go to hell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Framework Popularity/Favouritism/Biase &#8230;</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4392</link>
		<dc:creator>Framework Popularity/Favouritism/Biase &#8230;</dc:creator>
		<pubDate>Mon, 28 Apr 2008 19:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4392</guid>
		<description>[...] reading a couple of posts this week arguing the corner of both Ruby on Rails and Symfony, I found myself thinking about which [...]</description>
		<content:encoded><![CDATA[<p>[...] reading a couple of posts this week arguing the corner of both Ruby on Rails and Symfony, I found myself thinking about which [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Weekly Reader - April 20th 2008 : phpaddiction</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4367</link>
		<dc:creator>PHP Weekly Reader - April 20th 2008 : phpaddiction</dc:creator>
		<pubDate>Thu, 24 Apr 2008 06:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4367</guid>
		<description>[...] This seems to be a reoccurring theme lately &#8212; PHP and Respect. Its frustrating to read things that are not true written by people without real first hand knowledge and experience with the language. However, the reality is that good code is written by knowledgeable and skilled PHP developers and most impressively actually used on production sites the world over, To me you have earned respect when the code you write gets used by millions of users every day. Beautiful elegant solutions that never make it off of a development server and into the wild just don&#039;t matter. Fortunately I am entertained by mine is better than yours conversations like this Why Ruby is better than Symfony and the response  Response to Andy Jeffries why ruby is better than symfony. [...]</description>
		<content:encoded><![CDATA[<p>[...] This seems to be a reoccurring theme lately &#8212; PHP and Respect. Its frustrating to read things that are not true written by people without real first hand knowledge and experience with the language. However, the reality is that good code is written by knowledgeable and skilled PHP developers and most impressively actually used on production sites the world over, To me you have earned respect when the code you write gets used by millions of users every day. Beautiful elegant solutions that never make it off of a development server and into the wild just don&#8217;t matter. Fortunately I am entertained by mine is better than yours conversations like this Why Ruby is better than Symfony and the response  Response to Andy Jeffries why ruby is better than symfony. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Bointon</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4348</link>
		<dc:creator>Marcus Bointon</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4348</guid>
		<description>Regarding points 16 and 18, it sounds like you&#039;ve not used xdebug and kCacheGrind with PHP. Flexible interactive local and remote debugging in numerous IDEs, and really amazing interactive graphical profiling. Start at http://xdebug.org/ (or just &#039;pecl install xdebug&#039;) and fink/port/apt-get install kcachegrind. It&#039;s entirely possible that Ruby could have/get valgrind-compatible profile output too.</description>
		<content:encoded><![CDATA[<p>Regarding points 16 and 18, it sounds like you&#8217;ve not used xdebug and kCacheGrind with PHP. Flexible interactive local and remote debugging in numerous IDEs, and really amazing interactive graphical profiling. Start at <a href="http://xdebug.org/" rel="nofollow">http://xdebug.org/</a> (or just &#8216;pecl install xdebug&#8217;) and fink/port/apt-get install kcachegrind. It&#8217;s entirely possible that Ruby could have/get valgrind-compatible profile output too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eno</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4341</link>
		<dc:creator>Eno</dc:creator>
		<pubDate>Thu, 17 Apr 2008 20:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4341</guid>
		<description>@Andy

BTW, there *is* a symfony console of sorts.
http://code.google.com/p/symfony-interactive-shell/

So you can run a &quot;console&quot; similar to irb - Ive used it to do stuff like this:
&lt;pre class=&quot;prettyprint&quot;&gt;
&gt;&gt; $c = new Criteria();      

&gt;&gt; $c-&gt;add(ArticlePeer::ID, 8);

&gt;&gt; $articlet = ArticlePeer::doSelect($c, null);

&gt;&gt; print $article;
Array
(
)
&gt;&gt; print ($article[0]-&gt;getTitle());
Buying a Home
&lt;/pre&gt;

Ive been very interested in Rails since 2004 (I host nycruby.org and help organize the meetings of my local Ruby group), but my day-job is PHP/symfony so I dont get to play with Rails as much as Id like. Also, to get the best out of Rails, you really need to learn Ruby so you&#039;re basically learning two things at the same time - not always easy especially if you dont have a lot of time to devote to them. But Im playing with Capistrano to deploy symfony apps :-)

Im hoping that future symfony releases will take the best ideas from both Rails and Django (a lot of indications seem to show that this is happening). I too was very enthusiastic about Rails and Ive no doubt in my mind that it has brought a lot of good ideas and best practices to web development in general. But my enthusiasm did make my gloss over some of the things I didn&#039;t like. So I guess all Im saying is that&#039;s there&#039;s no perfect framework, Rails and symfony are both good within their &#039;languages&#039; communities.</description>
		<content:encoded><![CDATA[<p>@Andy</p>
<p>BTW, there *is* a symfony console of sorts.<br />
<a href="http://code.google.com/p/symfony-interactive-shell/" rel="nofollow">http://code.google.com/p/symfony-interactive-shell/</a></p>
<p>So you can run a &#8220;console&#8221; similar to irb &#8211; Ive used it to do stuff like this:</p>
<pre class="prettyprint">
&gt;&gt; $c = new Criteria();      

&gt;&gt; $c-&gt;add(ArticlePeer::ID, 8);

&gt;&gt; $articlet = ArticlePeer::doSelect($c, null);

&gt;&gt; print $article;
Array
(
)
&gt;&gt; print ($article[0]-&gt;getTitle());
Buying a Home
</pre>
<p>Ive been very interested in Rails since 2004 (I host nycruby.org and help organize the meetings of my local Ruby group), but my day-job is PHP/symfony so I dont get to play with Rails as much as Id like. Also, to get the best out of Rails, you really need to learn Ruby so you&#8217;re basically learning two things at the same time &#8211; not always easy especially if you dont have a lot of time to devote to them. But Im playing with Capistrano to deploy symfony apps <img src='http://blog.hma-info.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Im hoping that future symfony releases will take the best ideas from both Rails and Django (a lot of indications seem to show that this is happening). I too was very enthusiastic about Rails and Ive no doubt in my mind that it has brought a lot of good ideas and best practices to web development in general. But my enthusiasm did make my gloss over some of the things I didn&#8217;t like. So I guess all Im saying is that&#8217;s there&#8217;s no perfect framework, Rails and symfony are both good within their &#8216;languages&#8217; communities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Wickard</title>
		<link>http://blog.hma-info.de/2008/04/16/response-to-andy-jeffries-why-ruby-is-better-than-symfony/comment-page-1/#comment-4340</link>
		<dc:creator>Joel Wickard</dc:creator>
		<pubDate>Thu, 17 Apr 2008 15:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hma-info.de/?p=67#comment-4340</guid>
		<description>“&#039;Deployment is cool? symfony also has something there&#039; - yes, but it’s very basic:

symfony sync production go

Which just does an rsync from your copy to the remote server. It doesn’t go through source control, it can’t go to multiple backend servers in one go, it can’t upgrade database structure afterwards. There is so much more that Rails deployment/Capistrano can do.&quot;

One thing to note is that Capistrano is not Rails specific / only, especially with the release of Capistrano 2.  My team currently uses Capistrano to automate the deployment of our Symfony applications.</description>
		<content:encoded><![CDATA[<p>“&#8217;Deployment is cool? symfony also has something there&#8217; &#8211; yes, but it’s very basic:</p>
<p>symfony sync production go</p>
<p>Which just does an rsync from your copy to the remote server. It doesn’t go through source control, it can’t go to multiple backend servers in one go, it can’t upgrade database structure afterwards. There is so much more that Rails deployment/Capistrano can do.&#8221;</p>
<p>One thing to note is that Capistrano is not Rails specific / only, especially with the release of Capistrano 2.  My team currently uses Capistrano to automate the deployment of our Symfony applications.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

