9 ms·
With micro web frameworks you're doomed to implement a subset of Rails, or have to dig around to find and configure one of the gems usually associated to it. F
by badosu 8y ago
With micro web frameworks you're doomed to implement a subset of Rails, or have to dig around to find and configure one of the gems usually associated to it.
For those that are ok with this, or already have an understanding of the limited scope of your app, I strongly recommend Roda [0], it's a much more straightforward routing system with better memory/cpu usage.
I can't find a single instance for which Sinatra can be used where Roda is not a better choice.
[0] - http://github.com/jeremyevans/roda http://github.com/jeremyevans/roda
- eropple 8y agoAgreed. Until I wrote Modern[0] - and that was in many ways more of an exercise in OpenAPI/Swagger than anything else - there were few reasons I could find to not use Roda over Sinatra. Grape's also pretty good, but I prefer Roda over it too. Something about writing it feels better. [0] - https://github.com/modern-project/modern-ruby https://github.com/modern-project/modern-ruby