<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Developer Tutorials' Webmaster Blog &#187; web development</title>
	<atom:link href="http://www.developertutorials.com/blog/tag/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Tue, 02 Sep 2008 14:59:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Rails vs. PHP: Fair Comparison?</title>
		<link>http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/</link>
		<comments>http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 09:41:20 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[ror]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/rails-vs-php-12/</guid>
		<description><![CDATA[It&#8217;s a common point of heated debate between Ruby on Rails and PHP developers - can we really compare Rails with PHP? While most PHP developers would contest it, it&#8217;s a perfectly good comparison. Here&#8217;s why.
First, here&#8217;s a bit of background. Rails is a web application framework for the Ruby scripting language. Until a few [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a common point of heated debate between Ruby on Rails and PHP developers - can we really compare Rails with PHP? While most PHP developers would contest it, it&#8217;s a perfectly good comparison. Here&#8217;s why.<span id="more-12"></span></p>
<p>First, here&#8217;s a bit of background. Rails is a web application framework for the Ruby scripting language. Until a few years ago, Ruby wasn&#8217;t very widely used in web development, but the Rails framework changed all that. At this point, web application frameworks weren&#8217;t terribly popular, and PHP frameworks in particular were, for the better part, non-existent (Mambo/Joomla and Drupal don&#8217;t count.). Rails favoured convention over configuration, and as a result was very quick for basic application development.</p>
<p>PHP developers were moving over to Ruby on Rails, as PHP simply didn&#8217;t offer this functionality out of the box, and the PHP frameworks available weren&#8217;t much use. Over time, CakePHP, Symfony, CodeIgniter and various other frameworks developed, and we finally had the power of Rails in PHP. Of course, given the size of the PHP community, PHP frameworks matched Rails and surpassed it; we now have mature PHP frameworks for almost any purpose and any development style.</p>
<p>Now, inevitably, <s>language wars</s> debates between Rails and PHP developers ensue, and the common defense of PHP developers was that &#8220;PHP isn&#8217;t Rails, it&#8217;s Ruby.&#8221; Fair enough, some suggested; PHP and Ruby were languages, while Rails is a framework. Most PHP development happens without a real framework, while most Ruby <em>web</em> development happens on Rails (there are a handful of other Ruby web application frameworks, but none as successful as Rails).</p>
<p>Here&#8217;s my take on it: it may not be fair, but it sure is reasonable. When you think of Ruby web development, you think of Rails, and what can be achieved with it. On the other hand, PHP bundles a lot of its functionality in the core, and with most application development happening on top of this core, it&#8217;s the only reasonable comparison you can make.</p>
<p>In fact, it&#8217;s certainly not a fair argument, but that doesn&#8217;t mean it&#8217;s an invalid argument; <strong>there&#8217;s nothing wrong with Rails:PHP comparison</strong>.</p>
<p>That&#8217;s not to say Rails is a better framework than, say CakePHP or CodeIgniter; a proper comparison might find that PHP with a mature framework on top is a superior development platform than RoR. But Ruby developers can point to Rails as a demonstration of Ruby web application development, and all us PHP guys have to show for our framework efforts is a medley of different frameworks serving different purposes with no single, accepted way to write applications.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d12" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/&amp;title=Rails+vs.+PHP%3A+Fair+Comparison%3F" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/&amp;title=Rails+vs.+PHP%3A+Fair+Comparison%3F" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/&amp;title=Rails+vs.+PHP%3A+Fair+Comparison%3F" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/rails-vs-php-fair-comparison-12/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
