News for hackers. Stuff that matters.
Re:Merb 1.0 released by markbao on Monday November 10, 2008 @08:33AM (#359184)
Any former Ruby on Rails developers want to share their experience switching to Merb?
Re:Merb 1.0 released by Locke on Monday November 10, 2008 @11:27AM (#359339)
I made one small demo app in Merb about a month ago -- so, slightly pre-1.0. Overall, it was a good experience and I intend to continue exploring Merb.

A few points:

* Not as much documentation... sometimes it takes a while to find the Merb equivalent of some Railsism. The interfaces for Merb are very similar to Rails, though, so usually just trying the equivalent is enough. The differences I encountered were usually improvements over the Rails approach, IMHO.

* Smaller community. So, fewer plugins, fewer examples, fewer HOWTOs, etc. Hopefully this will change. But if you're uncomfortable developing something without a ton of resources to leverage...

* More flexible. I used Datamapper instead of ActiveRecord, and was very happy to have a choice. I was also very happy with Datamapper itself. I'm not sure Datamapper is mature enough, yet, for large scale projects, but the future is bright.

Overall, I think Merb benefits strongly from the "hindsight is 20/20" adage. It takes the best of Rails and rethinks its shortcomings. Where Rails was more revolutionarly, Merb is evolutionary. I think the improvements are worth the trouble of learning another web framework. I intend to use Merb for any new projects I start.

My demo app is http://ifrotz.org -- not that it's at all enlightening in a Merb vs Rails debate.

Re:Merb 1.0 released by davidw on Monday November 10, 2008 @04:35PM (#359759)
Thanks for the answer, but you only cite one advantage, that of flexibility. Surely there must be others?
Re:Merb 1.0 released by Locke on Monday November 10, 2008 @07:07PM (#359981)
In short, yes there are other advantages. If you just want a list, the release announcement is full of goodies. I was really just listing the things I noticed when working on one small app. As to features I haven't used, yet... I'm probably most excited about Merb's slices. Slices are potentially a huge win for code organization and re-use across webapps.