Douglas F Shearer

Ruby on Rails


The past few days I’ve been having a play with Ruby on Rails. After all the praise on the web for it, i thought it was about time I gave it a try.

Most languages and frameworks require you to have a server, either as a stand-alone or running on your desktop system, to test the code. Rails comes complete with it’s own server, Webrick allowing you change and test code very quickly, The shipped version of Ruby on OS X 10.4 is unfortunately broken; you need to compile it yourself using the Xcode Tools (a free download from Apple) and these instructions. The instructions tell you to install Lighhttpd and fastCGI, but I just used Webrick, as it seems to involve a lot less fiddling around when I don’t need a fully blown server on my Macbook. Thankfully OS X 10.5 ‘Leopard’ is going to come with Rails already installed.

When I actually got down to doing some code, it was pretty easy to pick up. Compared to the time it takes to prototype and build a blog app or similar in PHP, it took about 15 minutes in Rails, and that’s with no previous Rails nor Ruby Experience! It’s very impressive how Rails matched your database with your business objectts, and I look forward to trying to build some more complex web apps using it.

Tags

, , , , , .

Related Posts

August 20th 2006 17:20 | comments (0)
 

Comments


There are no comments. Be the first.

Add Your Comments


(Required)

Your email address to get your Gravatar. Address itself is not shown.

(Include the http://)

(Required)

 

You Are Here


Douglas F Shearer

This is the homepage of Douglas F Shearer, a software developer and mountainbike racer. Find out more at the About page.

Gallery Latest


Side on Chips on crown Front on chip2 chip1 img67

Stay Informed


What is RSS?

Top Tags