Sunday, August 27, 2006

A Gem of a framework


It was just another day for me as I returned home from work. Little did I know how special the day was. Now that I have already given away to my readers the fact that the day was special, it makes little sense to prolong the reasons that made it so. A fellow mate of mine, known mostly by his name - Ananth ( a bit more by reputation which surely enough, precedes him ), called me up late in the night. I was unfortunately tired and sleep was but natural at such times of despair. But Ananth was so excited about the new knowledge being imparted in his office, he choose to mention it to me. Unfortunately, I was the wrong guy at that wee hour for sleep was quickly overpowering my hearing senses. He was relentless. I too was trying hard to listen. And so I did, half asleep.
He was mentioning about a framework that was developed over Ruby, which made life really really easy. Or so he claimed. I chose to agree without thinking why. I just wanted to go to sleep.
But, amidst noises, I heard him say things like, you just name the database as the plural of the things that it is supposed to contain and name the class as a singular in the framework, and viola! the framework strings both of them together. This was something that caught my attention like a two piece adorned on a model. Even in my sleep. But I ignored the amazement and postponed it a later date in my mind. Next day, I couldn't stop thinking about this framework that intelligently figures out the plurals of the english languages to say the least. I called Ananth and apologetically asked him to repeat himself. And he gladly did.

And what began next was a beautiful relationship. I just fell in love with the framework. I couldn't stop thinking about the power it weilded. There was beauty, grace and power in the framework that I had seen in none other. It demanded attention, for it was the thing of the future. To end the beating around the bush, the framework is RubyOnRails. It is based on the scripting language Ruby, and delivers something that even .NET hasn't been able to. It is used to develop web applications and as its authors claim, it's surprisingly simple. Pluralization is just a tiny bit of its intelligence. You will be amazed to know how it can, with a single line that you type, provide you with CRUD web operations. [ Create, Read, Update, Delete ]. You do not have to code a single line of database access or SQL statements as long as you do your design right.
The ideology of using the MODELS, VIEW, CONTROLLER architecture explains itself the very minute you understand the framework's operation.

I think that's enough jargon for everyone. I myself do not wish to convert my blog into a promotion site but this was just irresistable. I think I am looking at the future when I see the framework. So, here's to future! Cheers! And all thanks to Ananth, who chose not to let a tired guy sleep and make his day special.