Last Updated: February 25, 2016
·
1.421K
· goyalankit

Modularize your Sinatra Application

Focus on your main application rather than configuring it. Lot of times Rails is an overkill for a simple application and Sinatra seems like a perfect choice.

Create a bare minimum modularized Sinatra application using modularize_sinatra gem.

Installation

gem install modularize_sinatra

create an application named myapp with controller name user

modularize_sinatra myapp -C user

Source Code and more usage instructions https://github.com/goyalankit/modularize_sinatra

oh! there's this blog post showing its simplicity:
http://goyalankit.com/blog/2013/07/23/modularize-sinatra/