• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rails to Merb - or should I go with Sinatra?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have done rails work in the past. How much of a learning curve is in store for me as I look into merb? If the learning curve is steep I might consider a more barebones approach like Sinatra, especially for simpler site work.

Thanks,
Don.
 
author
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, if you're comfortable using Rails, I'd say definitely stick with it.

However, just so you know, the learning curve going from Rails to Merb is pretty gentle. In fact, a lot of the stuff in Merb might just make more sense than it ever has in Rails. This is because of Merb's strong adherence to the Principle of Least Surprise. Anyway, why then stick with Rails? Well, I'm keen on conserving one's energies, and Rails3 is going to be where all the development action will be happening anyway. If you're still looking for some Merb awesomeness all before the official Rails3, be sure to check out Rails edge and maybe drop in DataMapper in place of ActiveRecord. It's an amazing ORM and really made me love the default Merb stack. Alternatively, if you've got a small app that may have been better suited for a single file Merb application, do take a look at Sinatra. Its inherited a lot of Merb goodness and a great way to explore Rack middleware.

Feel free to ask me any follow-up questions.

Best,
Foy
 
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey there Foy, can you help me better understand Rack? I've heard it mentioned a lot, but haven't progressed to the point of being able to use (or need) it just yet. What problem does it address? I've heard of it being used in situations where speed/throughput was more of a concern, but not sure if this was it's intended purpose.

Also, what advantages does DataMapper have over ActiveRecord (which I've found to be quite pleasant to use)?

Thanks!
 
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic