running on rails
tried Ruby on Rails. and i am now in love with it. you can call it infatuation as well, coz its my third day only with RoR. but i didnt do anything except RoR in these 3 days.
Its been lots of time since its release, and everyone everywhere was talking about it. but i didnt read much on it and assumed that its another framework for web development like those in java etc. but it actually is something worth the hype, even more.
Rails makes web development so easy and beautiful. the code written in RoR has a beauty. i loved to go through my code again and again. restructure it to make it even more better.
The Rails framework is backed up by equally strong language Ruby. A very intuitive language with features of perl and python. probably what Matz (Ruby developer) wanted it to be. His reason for developing this language is interesting - a human focused language. Being a efficiency aware programmer i dont appreciate that much, but i understand exactly what he means.
Rails definitely is the silver bullet for web development. What say Mr Brooks.?
As an example, i tried implementing mess portal on RoR. About 2 years back we implemented it using php. it took me and nir 3 days. But using RoR i was able to implement it in less than 2 days. It was my first encounter with php and Ruby respectively, both seemed intuitive to me. during earlier implementation we didnt know exactly what to make, and this time i knew it clearly, so that helped. php (or perl) is definitely a nice language, but when we talk about db backed application (which mostly is), RoR is the answer. The biggest difference in these two implementation is the code structure. I feared to look at the php code for the second time. it was such a mess, written in ad-hoc way. RoR doesnt allow one to mess up things. It forces to use MVC and DRY. The more i am thinking about it, the more i am falling in love with it.
Temporary Mesg : Interested [local] people can have a look at Mess on Rails[login=guest/pass=iiit123]. Its not fully up, but core logic is in place. If you want to contribute to it you are welcome. I will send u the code.
PS: It might be interesting to go try newly released cakePhp, a php alternatice to Rails. Afterall php was my favourite web development language.






May 4th, 2006 at 5:10 am
welcome
another ror fan. nice. truly to do agile dev, nothing beats it. but imo, ror is great as long as you do simple crud operations. but once you plan to do larger implementations, with lots of business logic & other operations, its not so easy; the curve gets increasingly steep; just like any existing mvc archs.
and tell me is it truly 3 tier? can the model and controller exist on separate machines?
May 4th, 2006 at 11:11 am
send the code to me..
I want to contribute & learn.. .
can you send it to pramodh@students.iiit.net
Pramodh
May 11th, 2006 at 11:50 pm
Re:
@kopos
yeah… the curve is not linear. it cant be.
ummm… model and controller can run on different machinces.. but controller will need the db definitions, which makes it pseudo 3 tier.
May 17th, 2006 at 12:10 pm
hmmm…
hmmm… why would the controller need the db definitions? all it needs is to decrypt the action from the view and send it to in a model understandable message to the model. all it needs to be is a glue. so the level of glue is debatable; it can be a layer or can know very much about the view and model too.
not exactly if i were to put in some business logic i would definitely use a sql package to care of that aspect wont it?