<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Uncarved Code</title>
	<atom:link href="http://uncarvedcode.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://uncarvedcode.wordpress.com</link>
	<description>He who speaks does not know</description>
	<lastBuildDate>Thu, 11 Feb 2010 03:33:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='uncarvedcode.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Uncarved Code</title>
		<link>http://uncarvedcode.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://uncarvedcode.wordpress.com/osd.xml" title="Uncarved Code" />
	<atom:link rel='hub' href='http://uncarvedcode.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Back into Code with Ruby</title>
		<link>http://uncarvedcode.wordpress.com/2010/01/25/back-into-code-with-ruby/</link>
		<comments>http://uncarvedcode.wordpress.com/2010/01/25/back-into-code-with-ruby/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 12:36:37 +0000</pubDate>
		<dc:creator>John Mendonca</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://uncarvedcode.wordpress.com/?p=4</guid>
		<description><![CDATA[After a few years of growing gardens in and around the SF Bay Area, I&#8217;m getting back into applications development. There are a few website ideas that have been sitting with me for a while, and I started building them a few months ago. At that time, I was weighing my options, and trying to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uncarvedcode.wordpress.com&amp;blog=11972346&amp;post=4&amp;subd=uncarvedcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a few years of growing gardens in and around the SF Bay Area,  I&#8217;m getting back into applications development.  There are a few website  ideas that have been sitting with me for a while, and I started  building them a few months ago.  At that time, I was weighing my  options, and trying to decide which technologies I wanted to use.  PHP,  Ruby, or Java?  Which out of a multitude of web frameworks?  Where and  how would it be hosted?  This is my personal project, with no external  requirements or limitations.  I can choose whatever I think will be  best.  So, I gave it a lot of thought, and put in a fair bit of research  to make the best choice.</p>
<p><span id="more-4"></span></p>
<h3>Shopping  Around</h3>
<p>The last time I wrote a web app was when I was  learning Rails a few years ago, and  I appreciated how easy it was to  use.  Rails has been the hot new way to write web apps for a while, and  overall I enjoy using it, but there were a few things about it that I  didn&#8217;t like like so much (more on that later), so it wasn&#8217;t a clear  winner for me.  I wanted to pursue my other options.</p>
<p>My  largest body of experience is with Java, so I looked down that path.   At a previous job, I had used the Spring framework which was fine at the  time, but it&#8217;s definitely one of those things where you need to spend a  fair amount of time setting up new projects and specifying  configuration options (or at least writing scripts to automate that  stuff).  Using Rails made writing applications so much more rewarding in  this respect, as you can get a project setup and doing things in no  time.  There are more Java web frameworks around now than when I was  working with them, and a lot of them try to be more Rails-like.  Many of  them seemed fine to me, but the user communities (support) for each  were quite small, and after all they are just different frameworks, each  with their own &#8216;way&#8217;, so I kept looking.</p>
<p>PHP was also a  big contender in my mind, largely because of its wide adoption, and  because I thought it would run much faster than Ruby/Rails.  I found  some good looking frameworks, namely CakePHP and Symphony (also Rails  influenced), and spent some time trying them out.  I would definitely  consider them if you are working on a PHP project.  I decided ultimately  that I wasn&#8217;t, I just found PHP unpleasant to read and work with.  This  was my personal project after all, and I knew from past experience that  how much enjoyment I got from the work would be the number one factor  for how long the project would live.</p>
<p>I examined other  languages and frameworks, but none of them were compelling enough for me  to want to learn the language and framework API.</p>
<p>So,  Ruby on Rails it was I guess, projects were fun and easy to write,  and  there was a huge community of people writing libraries and articles  for  support.  But, there were also some downsides&#8230;</p>
<h3>Ruby,  Hold the Rails</h3>
<p>Personally, I like to be able to wrap  my head around everything my  application is doing.  I like it when I  see a bug manifest, and I at  least know where to start looking to fix  it.  When I was first learning Rails,  this was a problem for me, seeing  something not work, and not knowing at  all why.  Back to the API docs  and thumbing through the book.  I also didn&#8217;t like the fact that I would   try to write some sort of behavior, and later find out there was a   &#8216;Rails way&#8217; to do it.  Surely the Rails way was magic and easy, but it   meant that I had to give a fair amount of my energy towards learning the   &#8216;Rails way&#8217;.</p>
<p>Then there is the question of  performance.  Now, I never ran benchmarks or load tested any servers,  but from what I read on the nets, it seems that Rails uses a hefty chunk  of memory, and doesn&#8217;t deliver particularly fast under pressure.  Now  it may have been putting the horse before the cart as they say, but I  wanted to make the right choices early on, so that when my little web  app did start getting traffic, it wouldn&#8217;t bring me any unnecessary  sorrows.  Besides, I just want things to be <em>clean</em> and <em>efficient</em>,  and it just doesn&#8217;t sit well with me when I know they aren&#8217;t.</p>
<p>At  the time I was considering all this, I was also considering Google App  Engine for hosting, and I was reading various posts about people trying  to use Ruby there.  And that&#8217;s where I heard about this thing called  Sinatra that got me started down the path that I&#8217;m currently walking.</p>
<p>I  ultimately came to realize that what I liked most was working with  Ruby: its syntax, its cleanliness and simplicity, its unique idioms.   Rails is just the de facto method for building web apps in Ruby, and for  good reason, it is a very effective tool.  It has brought thousands of  developers to Ruby, and now there are numerous projects in Ruby that  don&#8217;t involve Rails at all.  This is the route I&#8217;m taking now, Ruby off  Rails, and it makes coding exciting and interesting for me again.</p>
<p>That&#8217;s  where I am now on this latest coding venture of mine.  Later in this  blog I want to tell you all about the tools that I have found (and am  writing) that are making coding a joy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uncarvedcode.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uncarvedcode.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uncarvedcode.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uncarvedcode.wordpress.com&amp;blog=11972346&amp;post=4&amp;subd=uncarvedcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://uncarvedcode.wordpress.com/2010/01/25/back-into-code-with-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/95cce622b7005b0d2e8c19ec211a6ec9?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">John Mendonca</media:title>
		</media:content>
	</item>
	</channel>
</rss>
