Contact iFingers

Finger Tips - a fistful of handy web notes

Friday, July 20, 2007

Ruby, Ruby, Ruby, Ruby


No, I am not going to explore the lyrics of the Kaiser Chiefs latest sing-a-long. Instead I am going to explore something that is more RoR, than Rock and Roll. I have for the last week or so been exploring Ruby on Rails. Chances are you are already developing on it. But, if you too are thinking about building your own Rails web apps, here are some useful resources to getting to know Ruby on Rails.

RubyonRails.org

The 'Mecca' for all Rails freaks. Ruby on Rails was created by David Heinemeier Hansson, from 37 Signals. Rails was created in 2004, and was built using Ruby, an open-source scripting language, created by Yukihiro "matz" Matsumoto, from Japan and released in 1995. (Mental Note: Must get a longer name for myself!) The Ruby on Rails site is a natural place to start, when delving into this constrained but natural platform.

Ruby, Tie me up.

The idea of constraints might be a little offputting, but in practice, I am finding these "guides" and conventions extremely useful. It only just occured to me what the "Rails" moniker means, well I haven't confirmed this yet, but to me it can be taken literally. Your application benefits, just like the mythical Ruby train as it steams out of the Ruby station from these fixed tracks. Without the rails, the Ruby engine could lose it's way, plough through a bunch of html pedestrians or flatten the litte MySQL kid playing with his select statements. Conventions and constraints are what has made Rails my new scripting platform. Sure, I know enough PHP to do some damage, but the structured platform and conventions, makes it very powerful and surprisingly natural.

Learning Ruby on Rails

http://www.rubyonrails.org/docs will point you in the right direction, in your quest to become a master of Ruby and it's dominatrix, Rails. I really had a lot of fun learning Ruby with help from the poignant, cartoon foxes. Have purchased the pdfs of Agile web development with Rails and when I get my act together will have a few Gordon Ramsay like Rails Recipes that I can serve up to my visitors.

Ruby on Rails Video Learning

I am a subscriber to the VTC movie learning who have a good Rails title and also have spent the last few days learning RoR with my new Guru, Kevin Skoglund, and his fantastic Rails video, Ruby on Rails Essential Training from Lynda.com.

Anyway, I'll leave you with the following Ruby workout:

Repeat this phrase 100 times on your blackboard/aurally/mentally.

"Don't Repeat Yourself
Don't Repeat Yourself
Don't Repeat Yourself
Don't Repeat Yourself
Don't Repeat Yourself
Don't Repeat Yourself
Don't Repeat Yourself
"...

Hang on a minute, "Ruby, am I missing the point here?"

Labels: , , , ,

0 Comments:

Post a Comment

<< Home