What advantages do I have with a Rack app over a sinatra app?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think the asker wants the merits of keeping it to just Rack.
Considering Sinatra is already an extremely thin & minimalistic veneer for typical web applications, my short answer will be: when your needs are atypical and/or spartan
when you don’t even need…
I use Sinatra because I believe this is the lowest footprint you can really focus on business function of my apps, without dealing with web server nitty-gritties (Rails conversely is monoli-thick!) and still have an intuitive MVC-like project structure
You gain really little except code lines, and a smarmy twinkle in your eye when impressing geeks
honest.
p.s.: I maintain a nice skeleton for my own needs at http://github.com/codepants/yasumi