Hacker News new | past | comments | ask | show | jobs | submit login

you can use sinatra in place of rails for dynamic sites, but you'd need to pick template language (erb, haml), object relational model (activerecord, sequel, datamapper), and other things that come bundled in rails. that's what makes sinatra lightweight, you add as you need as opposed to everything there for you out of the gate. you can think of sinatra as being a simple domain specific language for creating sites or apis (i use it for both).

http://github.com/cloudfoundry/defekts




I think you described Padrino (http://www.padrinorb.com/).

Sinatra is good for APIs but it's easy to find yourself reinventing Rails/Padrino when you have a view layer.


also, sinatra uses rack and adds a domain specific language on top.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: