<?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"
	>
<channel>
	<title>Comments on: Are you a Rails developer on the inside?</title>
	<atom:link href="http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/feed/" rel="self" type="application/rss+xml" />
	<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/</link>
	<description>my god, it's full of stars</description>
	<pubDate>Tue, 18 Nov 2008 15:07:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Silver Ronin &#187; Rails post</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-366</link>
		<dc:creator>Silver Ronin &#187; Rails post</dc:creator>
		<pubDate>Thu, 05 Jan 2006 00:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-366</guid>
		<description>&lt;p&gt;[...] is this Silver Ronin? Chinese Word of the Day                     Rails post  January 4, 2006             Warpspire » Journal » Are you a Rails developer on the inside? [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] is this Silver Ronin? Chinese Word of the Day                     Rails post  January 4, 2006             Warpspire » Journal » Are you a Rails developer on the inside? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veracon</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-342</link>
		<dc:creator>Veracon</dc:creator>
		<pubDate>Thu, 29 Dec 2005 17:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-342</guid>
		<description>&lt;p&gt;Anyone who understands PHP well enough will be able to read PHP code just as well as a Ruby developer can read Ruby code. To be honest, it took me a while to figure out what the names between &#124;'s in, for instance, numbers.each{ &#124;number&#124; puts number }, meant.&lt;/p&gt;

&lt;p&gt;An example of something along the lines of method_missing, http://www.veracon.net/stuff/__call.php.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Anyone who understands PHP well enough will be able to read PHP code just as well as a Ruby developer can read Ruby code. To be honest, it took me a while to figure out what the names between |&#8217;s in, for instance, numbers.each{ |number| puts number }, meant.</p>
<p>An example of something along the lines of method_missing, <a href="http://www.veracon.net/stuff/__call.php" rel="nofollow">http://www.veracon.net/stuff/__call.php</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-341</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Thu, 29 Dec 2005 16:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-341</guid>
		<description>&lt;p&gt;&lt;strong&gt;Avinash&#62;&#62;&lt;/strong&gt;
I've heard this over and over. "It's not fair..."  I think it's perfectly fair to be frank.  If there were a decent PHP framework out there, almost every web PHP dev would be using it.  As it stands now, almost every web Ruby dev uses Rails.  There's something to be said for that.&lt;/p&gt;

&lt;p&gt;PHP's had its time on the web. If it were possible to produce a magnificent framework, it would have been done by now. As it stands now there's ten billion shitty frameworks out there. I've tried some of them (including symfony) and they cannot even be compared to Rails. It's like comparing a slow-cooked rack of ribs to spam.  This entirely stems from PHP's language restrictions. DHH himself began writing Rails in PHP, but couldn't do it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Veracon&#62;&#62;&lt;/strong&gt;
I think Avinash said it best. Ruby &lt;em&gt;doesn't need commenting&lt;/em&gt;.  It's simply that elegant.  Also, I know of nothing like method_missing in PHP. If someone would like to show me otherwise, i'd be glad to see it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Avinash&gt;&gt;</strong><br />
I&#8217;ve heard this over and over. &#8220;It&#8217;s not fair&#8230;&#8221;  I think it&#8217;s perfectly fair to be frank.  If there were a decent PHP framework out there, almost every web PHP dev would be using it.  As it stands now, almost every web Ruby dev uses Rails.  There&#8217;s something to be said for that.</p>
<p>PHP&#8217;s had its time on the web. If it were possible to produce a magnificent framework, it would have been done by now. As it stands now there&#8217;s ten billion shitty frameworks out there. I&#8217;ve tried some of them (including symfony) and they cannot even be compared to Rails. It&#8217;s like comparing a slow-cooked rack of ribs to spam.  This entirely stems from PHP&#8217;s language restrictions. DHH himself began writing Rails in PHP, but couldn&#8217;t do it.</p>
<p><strong>Veracon&gt;&gt;</strong><br />
I think Avinash said it best. Ruby <em>doesn&#8217;t need commenting</em>.  It&#8217;s simply that elegant.  Also, I know of nothing like method_missing in PHP. If someone would like to show me otherwise, i&#8217;d be glad to see it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veracon</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-340</link>
		<dc:creator>Veracon</dc:creator>
		<pubDate>Thu, 29 Dec 2005 12:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-340</guid>
		<description>&lt;p&gt;Sorry for posting three times in a row (:o), but here's just a tiny example of Python looping (which, like Ruby, definitely is an awesome 'feature'):
    dct = {'foo':'bar', 'bar':'baz'}
    print ', '.join(['%s: %s' % (key, value) for key, value in dct.items()]) + '.';&lt;/p&gt;

&lt;p&gt;As you may have guessed, it just unpacks each key and value of the dictionary (hash, associative array if you will) and prints it. Granted, it looks much better than PHP code -- and Ruby's version does too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry for posting three times in a row (:o), but here&#8217;s just a tiny example of Python looping (which, like Ruby, definitely is an awesome &#8216;feature&#8217;):<br />
    dct = {&#8217;foo&#8217;:'bar&#8217;, &#8216;bar&#8217;:'baz&#8217;}<br />
    print &#8216;, &#8216;.join(['%s: %s' % (key, value) for key, value in dct.items()]) + &#8216;.&#8217;;</p>
<p>As you may have guessed, it just unpacks each key and value of the dictionary (hash, associative array if you will) and prints it. Granted, it looks much better than PHP code &#8212; and Ruby&#8217;s version does too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veracon</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-339</link>
		<dc:creator>Veracon</dc:creator>
		<pubDate>Thu, 29 Dec 2005 12:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-339</guid>
		<description>&lt;p&gt;On a semi-different note, I believe method_missing is close to or identical to PHP's __call...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>On a semi-different note, I believe method_missing is close to or identical to PHP&#8217;s __call&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veracon</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-338</link>
		<dc:creator>Veracon</dc:creator>
		<pubDate>Thu, 29 Dec 2005 12:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-338</guid>
		<description>&lt;p&gt;I certainly don't think that PHP not being OO is a good thing -- I LOVE OOP, and I think all languages should depend on it. This is definitely a limitation, and I'm in no way saying that PHP is the most powerful language out there -- it's far from. I'm just saying that PHP code doesn't have to be ugly like many people give the impression of. I like to think my code is nicely written. 
Sure, I could probably do it more nicely and understandably in language X, but, after all, understandability is what comments are for, isn't it?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I certainly don&#8217;t think that PHP not being OO is a good thing &#8212; I LOVE OOP, and I think all languages should depend on it. This is definitely a limitation, and I&#8217;m in no way saying that PHP is the most powerful language out there &#8212; it&#8217;s far from. I&#8217;m just saying that PHP code doesn&#8217;t have to be ugly like many people give the impression of. I like to think my code is nicely written.<br />
Sure, I could probably do it more nicely and understandably in language X, but, after all, understandability is what comments are for, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-337</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Thu, 29 Dec 2005 11:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-337</guid>
		<description>&lt;p&gt;Firstly, I haven't tried Rails yet (I know a little Ruby, though), so I can't say how or even if I would like the framework, but judging from what I've seen over on the main website, people's comments, similar to this, and what I've read, it seems pretty neat, and I will be checking it out.  It's the simple things, however, that make me &lt;strong&gt;not&lt;/strong&gt; like it.  I couldn't get it to install.  Something funky was going on with gems.  It's such a barrier to productivity and new faces to the framework that it's almost funny; and simultaneously it is something that should be so easy to fix.&lt;/p&gt;

&lt;p&gt;I again agree that the PHP/RoR comparison is not fair; there is no way that you can compare PHP to a development framework.&lt;/p&gt;

&lt;p&gt;Judging by what you said, I think you would actually like Python, which, I believe produces beautiful code.  Not as beautiful as Ruby, which I believe is the only language that I have used apart from BASIC that truly doesn't need commenting.  In my opinion, that is what makes beautiful code.  Python also has some fantastic frameworks, TurboGears and Django come to mind.  I've tried the former, and it is absolutely brilliant.&lt;/p&gt;

&lt;p&gt;Someone mentioned it above - I too would like to see a critical comparison between Rails and a PHP framework such as Symfony.  I haven't tried Symfony yet, and I've been torn between it and Rails.  A link to someone who's compared them?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Firstly, I haven&#8217;t tried Rails yet (I know a little Ruby, though), so I can&#8217;t say how or even if I would like the framework, but judging from what I&#8217;ve seen over on the main website, people&#8217;s comments, similar to this, and what I&#8217;ve read, it seems pretty neat, and I will be checking it out.  It&#8217;s the simple things, however, that make me <strong>not</strong> like it.  I couldn&#8217;t get it to install.  Something funky was going on with gems.  It&#8217;s such a barrier to productivity and new faces to the framework that it&#8217;s almost funny; and simultaneously it is something that should be so easy to fix.</p>
<p>I again agree that the PHP/RoR comparison is not fair; there is no way that you can compare PHP to a development framework.</p>
<p>Judging by what you said, I think you would actually like Python, which, I believe produces beautiful code.  Not as beautiful as Ruby, which I believe is the only language that I have used apart from BASIC that truly doesn&#8217;t need commenting.  In my opinion, that is what makes beautiful code.  Python also has some fantastic frameworks, TurboGears and Django come to mind.  I&#8217;ve tried the former, and it is absolutely brilliant.</p>
<p>Someone mentioned it above - I too would like to see a critical comparison between Rails and a PHP framework such as Symfony.  I haven&#8217;t tried Symfony yet, and I&#8217;ve been torn between it and Rails.  A link to someone who&#8217;s compared them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-335</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Thu, 29 Dec 2005 01:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-335</guid>
		<description>&lt;p&gt;I am a big fan of RoR as well and am using it on a few projects of my own. I have actually rewritten most of the RoR ActiveRecord and ActionController in PHP to be able to use it on projects at my workplace (where there is no chance of moving to Ruby due to heavy oracle legacy db and stored procedures). &lt;/p&gt;

&lt;p&gt;I tend to favor the OO in ruby as well, and that is one of the things that attracts me to the language, but honestly there is no reason you could not write very similar code in PHP5 with some use of the &lt;a href="http://us3.php.net/manual/en/language.oop5.magic.php" rel="nofollow"&gt;magic methods&lt;/a&gt; like __call() and __get(), and some &lt;a href="http://us3.php.net/spl" rel="nofollow"&gt;SPL&lt;/a&gt; for making an object traversable with foreach: &lt;/p&gt;

&lt;p&gt;&lt;code&gt;
$user = User::find_by_username_and_password('kneath', 'password');
foreach ($user-&#62;articles as $article) { print $article-&#62;title; }
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is this example really that much uglier than the ruby syntax? You have to remember that the "find_by_username_and_password" and "user.articles" are not native Ruby. These are parts of Rails/ActiveRecord, and can be easily emulated in most dynamic languages. &lt;/p&gt;

&lt;p&gt;I think there is a lot of FUD going around about PHP from people who don't quite understand the full capabilities. I think we'll see some better comparisons once Zend releases their framework. I don't believe that it will be real competition for Rails since a lot of PHP developers seem to reject the idea of the framework.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am a big fan of RoR as well and am using it on a few projects of my own. I have actually rewritten most of the RoR ActiveRecord and ActionController in PHP to be able to use it on projects at my workplace (where there is no chance of moving to Ruby due to heavy oracle legacy db and stored procedures). </p>
<p>I tend to favor the OO in ruby as well, and that is one of the things that attracts me to the language, but honestly there is no reason you could not write very similar code in PHP5 with some use of the <a href="http://us3.php.net/manual/en/language.oop5.magic.php" rel="nofollow">magic methods</a> like __call() and __get(), and some <a href="http://us3.php.net/spl" rel="nofollow">SPL</a> for making an object traversable with foreach: </p>
<p><code><br />
$user = User::find_by_username_and_password('kneath', 'password');<br />
foreach ($user-&gt;articles as $article) { print $article-&gt;title; }<br />
</code></p>
<p>Is this example really that much uglier than the ruby syntax? You have to remember that the &#8220;find_by_username_and_password&#8221; and &#8220;user.articles&#8221; are not native Ruby. These are parts of Rails/ActiveRecord, and can be easily emulated in most dynamic languages. </p>
<p>I think there is a lot of FUD going around about PHP from people who don&#8217;t quite understand the full capabilities. I think we&#8217;ll see some better comparisons once Zend releases their framework. I don&#8217;t believe that it will be real competition for Rails since a lot of PHP developers seem to reject the idea of the framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-334</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Wed, 28 Dec 2005 19:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-334</guid>
		<description>&lt;p&gt;&lt;strong&gt;uzair&#62;&#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No one can deny that 37signals have redefined what a web application is. That's what I'm talking about.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mark Anthony&#62;&#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pssh. Why not debate how to pluralize octopus? ;)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Veracon&#62;&#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I completely agree beauty is up to the developer, and how he creates his code. But there is something to say about the language's ability.  I've not played with Python much, so I really didn't try to compare it to Ruby. I believe many languages, similar to Ruby, are capable of creating wonderful code. However, I think there are also a lot of languages that restrict the freedoms that allow such beauty. In my experience, PHP is one of them.  There is absolutely no way to create a call as elegant as this in PHP:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;user = User.find_by_username_and_password('kneath', 'password');
user.articles.each{ &#124;a&#124; puts a.title }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A lot of this can be attributed to Ruby's lax syntax rules. A lot of it to method_missing. A lot of it to pure OO.  PHP (and other languages) simply cannot compare.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>uzair&gt;&gt;</strong></p>
<p>No one can deny that 37signals have redefined what a web application is. That&#8217;s what I&#8217;m talking about.</p>
<p><strong>Mark Anthony&gt;&gt;</strong></p>
<p>Pssh. Why not debate how to pluralize octopus? ;)</p>
<p><strong>Veracon&gt;&gt;</strong></p>
<p>I completely agree beauty is up to the developer, and how he creates his code. But there is something to say about the language&#8217;s ability.  I&#8217;ve not played with Python much, so I really didn&#8217;t try to compare it to Ruby. I believe many languages, similar to Ruby, are capable of creating wonderful code. However, I think there are also a lot of languages that restrict the freedoms that allow such beauty. In my experience, PHP is one of them.  There is absolutely no way to create a call as elegant as this in PHP:</p>
<pre><code>user = User.find_by_username_and_password('kneath', 'password');
user.articles.each{ |a| puts a.title }
</code></pre>
<p>A lot of this can be attributed to Ruby&#8217;s lax syntax rules. A lot of it to method_missing. A lot of it to pure OO.  PHP (and other languages) simply cannot compare.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veracon</title>
		<link>http://warpspire.com/tipsresources/programming/are-you-a-rails-developer-on-the-inside/#comment-333</link>
		<dc:creator>Veracon</dc:creator>
		<pubDate>Wed, 28 Dec 2005 18:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/?p=99#comment-333</guid>
		<description>&lt;p&gt;So the code is beautiful. Okay. But does that mean no other language can have nice looking code? I agree, PHP doesn't have the best looking code -- though I can make it myself -- but it gets the job done.
Honestly, trust me, I have nothing against Ruby. I just love the languages I use currently: Python, which I think have even nicer code than Ruby and PHP which is just so damn easy to use -- But even still, I take the time to write nice OOP code, commenting using PHPdoc and overall MAKING the code beautiful..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So the code is beautiful. Okay. But does that mean no other language can have nice looking code? I agree, PHP doesn&#8217;t have the best looking code &#8212; though I can make it myself &#8212; but it gets the job done.<br />
Honestly, trust me, I have nothing against Ruby. I just love the languages I use currently: Python, which I think have even nicer code than Ruby and PHP which is just so damn easy to use &#8212; But even still, I take the time to write nice OOP code, commenting using PHPdoc and overall MAKING the code beautiful..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.381 seconds -->
