<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Foliovision &#187; web development</title>
	<atom:link href="http://foliovision.com/tag/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://foliovision.com</link>
	<description>Making the web work for you</description>
	<lastBuildDate>Mon, 26 Jul 2010 15:05:27 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image><title>Foliovision</title><url>http://foliovision.com/site/wp-content/themes/foliovision/images/foliovision-logo-380.gif</url><link>http://foliovision.com</link><width>240</width><height>66</height><description>Making the web work for you</description></image>		<item>
		<title>Coding Languages, a developer&#8217;s new girlfriend</title>
		<link>http://foliovision.com/2007/11/29/cakephp-versus-ruby-on-rails</link>
		<comments>http://foliovision.com/2007/11/29/cakephp-versus-ruby-on-rails#comments</comments>
		<pubDate>Thu, 29 Nov 2007 11:32:37 +0000</pubDate>
		<dc:creator>alec</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[girlfriends]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://foliovision.com/2007/11/29/cakephp-versus-ruby-on-rails/</guid>
		<description><![CDATA[Why all this fascination with Ruby on Rails?
The success of 37signals...these guys have built some cool stuff in very small teams.
But in general I believe that a lot of the coding developers (as opposed to user interface developers such as myself) like trying new languages like some men like trying fresh girlfriends.
Each time a new [...]


Related posts:<ol><li><a href='http://foliovision.com/2007/11/07/phpp-speed-security-code-optimization' rel='bookmark' title='Permanent Link: PHP Speed and Security: The Code Optimization Phase'>PHP Speed and Security: The Code Optimization Phase</a></li>
<li><a href='http://foliovision.com/2007/12/21/forums-and-wordpress' rel='bookmark' title='Permanent Link: Forums and Wordpress'>Forums and Wordpress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Why all this fascination with Ruby on Rails?</p>
<p>The success of <a href="http://www.37signals.com/">37signals</a>...these guys have built some cool stuff in very small teams.</p>
<p>But in general I believe that a lot of the coding developers (as opposed to user interface developers such as myself) like trying new languages like some men like trying fresh girlfriends.</p>
<p>Each time a new language comes along they think this might be the one.</p>
<p>For those of us just trying to produce working applications efficiently for clients, switching languages is a waste of time and money.</p>
<p>i.e. we will switch but only if the incentives are enormous or our current technology has badly dated.</p>
<p>Many developers are choosing to remain in PHP. CakePHP is PHP's answer to the Rails framework on Ruby.</p>
<p>Dominican developer Kevin Lloyd has written a succinct list of the <a href="http://www.webdevelopment2.com/cakephp-ruby-rails-bias/#comment-27125">reasons to choose CakePHP over RoR</a>:</p>
<ol>
    <li>laziness</li>
    <li>speed</li>
    <li>shared host support</li>
    <li>cost</li>
</ol>
<p>The big debate about Ruby on Rails versus PHP was set off by Alex Payne of <a href="http://twitter.com">Twitter</a>'s <a href="http://www.radicalbehavior.com/5-question-interview-with-twitter-developer-alex-payne/">complaint about the speed of RoR</a> in an interview:</p>
<blockquote>All the convenience methods and syntactical sugar that makes Rails such a pleasure for coders ends up being absolutely punishing, performance-wise....there shouldn’t be doubt in anybody’s mind at this point that Ruby itself is slow. It’s great that people are hard at work on faster implementations of the language, but right now, it’s tough. If you’re looking to deploy a big web application and you’re language-agnostic, realize that the same operation in Ruby will take less time in Python. All of us working on Twitter are big Ruby fans, but I think it’s worth being frank that this isn’t one of those relativistic language issues. Ruby is slow. </blockquote>
<p>Kevin adds:</p>
<blockquote>I don’t do Web Development for my health or for fun. <strong>I design web applications for clients.</strong> A lot of my work involves redesign of already existing sites. How do I say to a client: Hey, although your current web host that you’ve prepaid a year for is sufficient for 90% or the stuff you can throw at it, I’m using this new technology and you need to shell out some more $$$ for a host that can handle it. </blockquote>
<p>That's our situation as well. We love web development but it is a means to an end. User interface, front end, user convenience. Of course reliability and security are very important to us as well, but that is more a question of coding practice than coding language.</p>
<span id="more-251"></span>
<p>And who the hell like slow applications anyway. Speed would be one of my biggest gripes about Basecamp (poster child for all RoR development).</p>
<p>Why is PHP faster than Ruby on Rails slow? According to Kevin:</p>
<blockquote>
<p>Because everything in RoR is an object, it has to be instantiated, which takes up CPU time and memory. Even empty objects. With PHP and empty array is a memory address, that’s it. Although CakePHP does support OOP using PHP5, most of CakePHP’s data manipulation is still heavily array based.</p>
</blockquote>
<p>But in the end who cares why Ruby on Rails is slow...</p>
<p>We've been looking at additional project management tools lately. One of the best looking is Connector from Joyent. One <a href="http://rev1.www.joyent.com/products/publiccloud/joyent-tools/">look at the graphics</a> and I was almost hooked. But it has to be the slowest web application I've ever had the misfortune of demoing.</p>
<h5><a href="http://foliovision.com/images/2007/11/joyent-connect-list-full.png"><img width="400" height="205" border="0" align="" alt="Joyent-Connect-List" src="http://foliovision.com/images/2007/11/joyent-connect-list.png" /></a><br />
Joyent Connect List</h5>
<p>I thought the demo accounts might just have shoddy hosting (although that is shooting oneself in the foot), but no, apparently the developers themselves have to wait 15 to seconds to 60 seconds for pages to refresh. Who has time for this?</p>
<p>Coding is supposed to set us free to spend time with our girlfriends not to spend learning new development languages.</p>
<p>For the most part, swapping girlfriends is a waste of time. If the one you have is kind to you, stick with her. We'll be staying with WordPress and PHP a good while longer.</p><h5 class="byline"><img height="48" width="48" src="http://foliovision.com/images/authors/alec-kinnear.jpg" alt="Alec Kinnear" title="Alec Kinnear" /><br /> By Alec</h5><p><a href="http://foliovision.com/2007/11/29/cakephp-versus-ruby-on-rails">Coding Languages, a developer&#8217;s new girlfriend</a></p>
<p>Post from: <a href="http://foliovision.com">Foliovision</a></p>
<img src="http://foliovision.com/site/?ak_action=api_record_view&id=251&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://foliovision.com/2007/11/07/phpp-speed-security-code-optimization' rel='bookmark' title='Permanent Link: PHP Speed and Security: The Code Optimization Phase'>PHP Speed and Security: The Code Optimization Phase</a></li>
<li><a href='http://foliovision.com/2007/12/21/forums-and-wordpress' rel='bookmark' title='Permanent Link: Forums and Wordpress'>Forums and Wordpress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://foliovision.com/2007/11/29/cakephp-versus-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (user agent is rejected)
Database Caching 23/65 queries in 0.189 seconds using memcached

Served from: foliovision.com @ 2010-07-29 15:25:25 -->