Merb

The glory that was Merb

I have a weekend class which usually end at 5:00pm but today I went home early because I'm feeling a bit sick, what I didn't know is that a surprise was waiting for me.

Merb's Partial

As usual I'm still playing with Merb and I would like to share Merb's partial. Basically its the ability to render objects using a template file that could be used inside several other templates. Hmm.. I hope that went well.

To give you a quick example, lets say your building a blog with a controller named posts and got a posts folder inside your views which contains new.html.erb and edit.html.erb. Your new.html.erb might contain something like:

Just a recap

It's been 4 days since my last post and I just want to give a quick recap of where am I now with my Ruby adventure. As I was playing with Ramaze, deep inside I really wanted Merb.

But because Merb got some really quirk going on my system I had to invest some time playing and googling on how things work. Now that I have a stable setup, expect more Merbs to come.

The Switch

After 3 days of playing with rails I feel like there's so much magic happening under the hood for a very simple application I want. So the same way that I like CodeIgniter, I went ahead and start looking for a similar framework.

The first candidate was Ramaze but having some background from Rails, I don't like the fact that you need to specify on the main controller that you want to start the execution from there. So I keep searching and from the very same website of Ramaze, I found a link that contains the names Merb and Sinatra.

Syndicate content