My Sinatra Tips

These are a few tips I'm keeping track of for my own use when writing Sinatra applications:

  • Use unicorn
  • Sub-class sinatra
  • Use helpers
  • Use rack middleware
  • Read sinatra (I read that somewhere and it was mad helpful!)
  • Read git-wiki.rb, its a really well designed sinatra app in my humble opinion
  • Keep it simple and keep refactoring until the cows come home

Others may find these notes useful as well, but your mileage may vary!

Sinatra Gems I Use

  • Sinatra-XSLView
  • sinatra-bundles
  • sinatra-simplerdiscount