9 ms·
Sinatra is not actually all that good for writing API endpoints. The Rails 3 architecture is very modular. It was designed as framework to write frameworks, of
by hosh 14y ago
Sinatra is not actually all that good for writing API endpoints.
The Rails 3 architecture is very modular. It was designed as framework to write frameworks, of which a template-driven app is one such framework. I have written a different framework specifically for just an app focused on SASS that has an abundance of CRUD operations.
However, when Rails 3.1 started transitioning into Rails 3.2, the assumption that Rails is specific for a template-driven app started being baked deeper into it. It was moving away from the "Russian Doll Pattern" that was so useful for me.