Bar Camp Atl3

821 views

Published on

Rapid Prototyping with MongoDB and Sinatra

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
821
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide













  • Bar Camp Atl3

    1. 1. Rapid Prototyping Sinatra + MongoDB + ??? == Profit! Will Farrington Mike Skalnik
    2. 2. Sinatra • Blake Mizerany (http://github.com/bmizerany) • Micro-framework • Bring your own ORM • Sinatra: ~1,500 lines vs. Rails: ~100,000 lines • Simple & Speedy
    3. 3. Example require 'rubygems' require 'sinatra' get '/:name' do "Hello, #{params[:name]}!" end
    4. 4. +
    5. 5. MongoDB • Document Driven • Key-Value • JSON data types • Asynchronous Writes • Embedded Documents
    6. 6. MongoMapper • John Nunemaker (github.com/jnunemaker) • Like ActiveRecord • But Not
    7. 7. +
    8. 8. ??? • Find Itch • Scratch It • Keep Scratching It
    9. 9. ==
    10. 10. Profit!
    11. 11. Mango • Decided to play with MongoDB & Sinatra • Wrote a blog in ~10 minutes • 0 knowledge of MongoMapper before hand • http://github.com/skalnik/mango
    12. 12. Us will@railsmachine.com github.com/wfarr twitter.com/wfarr mike@railsmachine.com github.com/skalnik twitter.com/skalnik
    13. 13. Credits • github.com/sinatra/sinatra • mongodb.org • github.com/jnunemaker/mongomapper

    ×