• Email
  • Like
  • Save
  • Private Content
  • Embed
 

OSCON 2012 MongoDB Tutorial

by on Jul 16, 2012

  • 37,763 views

This tutorial will introduce the features of MongoDB by building a simple location-based application using MongoDB. The tutorial will cover the basics of MongoDB’s document model, query language, ...

This tutorial will introduce the features of MongoDB by building a simple location-based application using MongoDB. The tutorial will cover the basics of MongoDB’s document model, query language, map-reduce framework and deployment architecture.

The tutorial will be divided into 5 sections:

Data modeling with MongoDB: documents, collections and databases
Querying your data: simple queries, geospatial queries, and text-searching
Writes and updates: using MongoDB’s atomic update modifiers
Trending and analytics: Using mapreduce and MongoDB’s aggregation framework
Deploying the sample application
Besides the knowledge to start building their own applications with MongoDB, attendees will finish the session with a working application they use to check into locations around Portland from any HTML5 enabled phone!

TUTORIAL PREREQUISITES
Each attendee should have a running version of MongoDB. Preferably the latest unstable release 2.1.x, but any install after 2.0 should be fine. You can dowload MongoDB at http://www.mongodb.org/downloads.

Instructions for installing MongoDB are at http://docs.mongodb.org/manual/installation/.

Additionally we will be building an app in Ruby. Ruby 1.9.3+ is required for this. The current latest version of ruby is 1.9.3-p194.

For windows download the http://rubyinstaller.org/
For OSX download http://unfiniti.com/software/mac/jewelrybox/
For linux most users should know how to for their own distributions.
We will be using the following GEMs and they MUST BE installed ahead of time so you can be ahead of the game and safe in the event that the Internet isn’t accommodating.

bson (1.6.4)
bson_ext (1.6.4)
haml (3.1.4)
mongo (1.6.4)
rack (1.4.1)
rack-protection (1.2.0)
rack shotgun (0.9)
sinatra (1.3.2)
tilt (1.3.3)
Prior ruby experience isn’t required for this. We will NOT be using rails for this app.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

28 Embeds 3,543

http://architects.dzone.com 1634
http://spf13.com 1508
http://www.scoop.it 110
https://twitter.com 47
http://lanyrd.com 39
http://localhost 31
http://feeds.feedburner.com 30
http://java.dzone.com 23
https://si0.twimg.com 17
https://twimg0-a.akamaihd.net 16
http://eventifier.co 15
http://www.twylah.com 14
http://formacionmestreacasa.gva.es 11
http://ruby.dzone.com 9
http://lillaslavender.com 8
http://rritw.com 5
http://us-w1.rockmelt.com 5
http://faavorite.com 4
http://www.dzone.com 3
http://www.lillaslavender.com 3
http://donpipo.expressweb-demo.es 2
http://twitter.com 2
http://oscar.localhost.com 2
http://control.blog.fc2.com 1
http://tweetedtimes.com 1
http://redgreenrefactortweets.blogsite.org 1
http://www.tuicool.com 1
http://translate.googleusercontent.com 1

More...

Statistics

Likes
35
Downloads
594
Comments
7
Embed Views
3,543
Views on SlideShare
34,220
Total Views
37,763

17 of 7 previous next Post a comment

Post Comment
Edit your comment

OSCON 2012 MongoDB Tutorial OSCON 2012 MongoDB Tutorial Presentation Transcript