Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sinatra is a Hammer

Sinatra is a Hammer

An ignite talk about Sinatra and Rails

Andrew Nesbitt

April 26, 2012
Tweet

More Decks by Andrew Nesbitt

Other Decks in Technology

Transcript

  1. 6 Rails gives you lots for free Caching Emailing Migrations

    Autoloading Testing View helpers Asset pipeline Generators Namespacing Activerecord
  2. 7 And things you might not realize Data seeding Localization

    Mountable Engines Cookie abstraction Browser standards mode Session deserialization
  3. 8 But wait there’s more... Complex Routing Handling of IP

    Spoofing Automatic reloading in development Deserialization of content types like JSON, XML Content negotiation to automatically support MIMEs
  4. 9 Security Encrypted cookie store CSRF protection XSS protetion Mass

    assignment SQL injection projection Secure password (rails 3.1) Log filtering
  5. 17

  6. 18 Padrino Good bits of rails built on top of

    Sinatra Structure Helpers Performance
  7. 19 What is sinatra good for? Non-trivial middleware to support

    larger Embedded web interfaces Non-standard apps Internal services Applications Tiny apps Hacking Fun