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/
Written by Ankit Goyal
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#