Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sinatra Ruby Framework

14,423 views

Published on

Quick discussion of Sinatra - a Ruby micro-framework

Published in: Technology
  • Be the first to comment

Sinatra Ruby Framework

  1. 1. Ruby Frameworks http://rirug.com RIRUG
  2. 2. Rails http://rirug.com RIRUG
  3. 3. Merb Mack Rails Nitro http://rirug.com RIRUG
  4. 4. Wuby Vintage Arrow Ramaze Merb Mack Maveric Rails Sinatra Waves Webby Camping Wisteria Nitro http://rirug.com RIRUG
  5. 5. Sinatra • Sinatra is a DSL for quickly creating web- applications in Ruby with minimal effort. • Single file web-app • Runs on Rack • Your choice of template engine • Your choice of JavaScript library http://rirug.com RIRUG
  6. 6. Hello World http://rirug.com RIRUG
  7. 7. HTTP Methods http://rirug.com RIRUG
  8. 8. Routes http://rirug.com RIRUG
  9. 9. Routes http://rirug.com RIRUG
  10. 10. Routes http://rirug.com RIRUG
  11. 11. Routes http://rirug.com RIRUG
  12. 12. Views http://rirug.com RIRUG
  13. 13. Views http://rirug.com RIRUG
  14. 14. Views http://rirug.com RIRUG
  15. 15. Views http://rirug.com RIRUG
  16. 16. Views http://rirug.com RIRUG
  17. 17. Helpers http://rirug.com RIRUG
  18. 18. Filters http://rirug.com RIRUG
  19. 19. Configuration http://rirug.com RIRUG
  20. 20. Testing http://rirug.com RIRUG
  21. 21. Testing http://rirug.com RIRUG
  22. 22. Real Example http://rirug.com RIRUG
  23. 23. Sinatra Resources • http://sinatrarb.com (usually down) • http://sinatrarb.heroku.com (new temp site) • http://sinatra.rubyforge.org/api/ • http://groups.google.com/group/sinatra • http://www.xnot.org/sinatra • http://sinatra.lighthouseapp.com/ http://rirug.com RIRUG

×