3 ms·
I love Ruby. Have used it for 15 years, but I can't stand Rails. It's just massive overkill for most things. I prefer to start with Sinatra + Sequel for web pr
by vidarh 6y ago
I love Ruby. Have used it for 15 years, but I can't stand Rails. It's just massive overkill for most things.
I prefer to start with Sinatra + Sequel for web projects. Sometimes Padrino + Sequel. As your project grows, sure, you'll pull in many things similar to Rails, and probably pull in some projects that started out with Rails too, but it allows you to be much explicit about which dependencies you pull in, why, and to limited where it gets pulled in.
- syspec 6y agoI have not tried Sinatra, only heard good things about it I will check it out. Thanks!
- vidarh 6y agoSinatra is great - it's small enough to read the whole thing and understand it. But it's also very minimalist, so you might also want to look at Padrino, which layers neatly on top of Sinatra, yet is still small and ORM agnostic. It's also fairly painless to start with Sinatra, and layer in components from Padrino if/when you need them. E.g. you can simply register Padrino's helpers, mailer, routing, rendering or cache components in a Sinatra app if/when you need them. They're just straightforward Sinatra plugins.