4 ms·
I've recently switched from Sinatra to Grape for pure REST microservice development. Grape does a lot of things that turn into wasteful boilerplate in Sinatra.
by beat 12y ago
I've recently switched from Sinatra to Grape for pure REST microservice development. Grape does a lot of things that turn into wasteful boilerplate in Sinatra. Haven't gotten far enough with it to find the downsides yet.
I've down API dev in Rails too, but it really feels like killing a fly with a hammer sometimes. And as I shift strongly to microservices (thanks Docker!), I want my API code to be as minimalist as possible. Grape/Sequel feels simple, which is good.
- grandalf 12y ago> Grape does a lot of things that turn into wasteful boilerplate in Sinatra Would love to see a few examples > I've down API dev in Rails too, but it really feels like killing a fly with a hammer sometimes More like creating a few extra layers of abstraction to confuse the fly.