June 26, 2005

Ruby on Rails 2

Filed under: Web development — Dimitris Giannitsaros @ 14:01

I now have about 3 hours of Rails experience! Installation was a breeze, Hello World a no brainer. I followed the “Rolling with Ruby on Rails” tutorial (part I, part II), and I think I can see now why they say you can be very productive with Rails.

Things are still mingled in my mind, but what knowledge I have gained so far follows: Rails enforces the model view controller design, has a strict directory structure and utilizes special naming (e.g. a DB table called tasks and a class called Task are connected). One nice thing is that data lists and CRUD operations (create, retrieve, update, delete) are completely automated (scaffolding) for simple objects (no joins etc).

All these seem a bit restrictive at first and I don’t know what happens if you want to do things differently (though I guess it can be done). But the consequence of these rules is that you can do things extremely fast. Building a simple application (e.g. a phonebook application) can be done in a few hours. You don’t have to build any infrastructure, as this is exactly what Rails provide.

I still have a constant feeling that it can’t be used for “advanced” applications, even though I understand I am mistaken (Basecamp and Backpack are advanced enough).

I will continue experimenting with Rails because:
a) It’s fun
b) It’s different
c) I want to understand it better, so I know what people are talking about
d) I want to see how it integrates with AJAX

2 Comments

  1. Have a look at this too: Cake PHP Framework. I did not rty it yet, but it looks promising.

    Comment by Panayotis Vryonis — June 27, 2005 @ 00:31

  2. I’ll have alook for sure. The developer says it’s “designed as a Rails rip-off”, which isn’t bad at all…

    Comment by Dimitris Giannitsaros — June 27, 2005 @ 03:01

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.


Powered by WordPress Theme by H P Nadig