21

LRUG Presentation

Embed Size (px)

Citation preview

Page 1: LRUG Presentation
Page 2: LRUG Presentation

Document-orientedSchema-freeBuilt for performanceBuilt to scale

Page 3: LRUG Presentation

{ :name => 'Kevin Doyle', :age => 26, :position => 'Forward', :club => 'Wolverhampton Wanderers', :goals => 7 }

Document-oriented

Page 4: LRUG Presentation

Schema-free

{ :name => 'Landon Donovan', :age => 28, :position => ['Forward', 'Midfielder'] :club => 'Everton', :goals => 2 }

Page 5: LRUG Presentation

Say goodbye to this!

rake db:migrate

Page 6: LRUG Presentation

Built for Performance

Supports indexingNo transaction logMemory-mapped

Page 7: LRUG Presentation

Built to scale

Page 8: LRUG Presentation
Page 9: LRUG Presentation

code examples...

Page 10: LRUG Presentation

Making a connection

Page 11: LRUG Presentation

Inserting a new document

Page 12: LRUG Presentation

Querying a collection

Page 13: LRUG Presentation

Queries using operators

Page 14: LRUG Presentation

Updates

Page 15: LRUG Presentation

Operators for queries

$ne$in$nin$mod$all$size$exists

Page 16: LRUG Presentation

Operators for Updates

$inc$set$push$pushAll$pop$pull$pullAll

Page 17: LRUG Presentation

....and that's not all

Page 18: LRUG Presentation

MongoMapperMongoid

MongoRecordMongoDoc

MongoDB & Rails

Page 19: LRUG Presentation

Ways to get started

Try MongoDB in a browser at http://try.mongodb.orgTry MongoDB in the the interactive shellCheck out the google group for developers, mongodb-devStop by the irc chat irc://irc.freenode.net/#mongodbBlogs, presentations, etc

Page 20: LRUG Presentation

My info

Twitter: SedwardBlog: http://codesnotdead.blogspot.com/

Email: SethAEdwards (at) gmail.com

Page 21: LRUG Presentation