Seth Edwards on MongoDB

1,227 views

Published on

Seth Edwards on MongoDB

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

No Downloads
Views
Total views
1,227
On SlideShare
0
From Embeds
0
Number of Embeds
465
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Seth Edwards on MongoDB

  1. 2. <ul><ul><ul><ul><ul><ul><ul><ul><ul><ul><li>Document-oriented
  2. 3. Schema-free
  3. 4. Built for performance
  4. 5. Built to scale </li></ul></ul></ul></ul></ul></ul></ul></ul></ul></ul>
  5. 6. { :name => 'Kevin Doyle', :age => 26, :position => 'Forward', :club => 'Wolverhampton Wanderers', :goals => 7 } Document-oriented
  6. 7. Schema-free { :name => 'Landon Donovan', :age => 28, :position => [ 'Forward', 'Midfielder' ] :club => 'Everton', :goals => 2 }
  7. 8. Say goodbye to this! rake db:migrate
  8. 9. Built for Performance <ul><ul><ul><ul><ul><ul><ul><ul><ul><ul><li>Supports indexing
  9. 10. No transaction log
  10. 11. Memory-mapped </li></ul></ul></ul></ul></ul></ul></ul></ul></ul></ul>
  11. 12. Built to scale
  12. 14. code examples...
  13. 15. Making a connection
  14. 16. Inserting a new document
  15. 17. Querying a collection
  16. 18. Queries using operators
  17. 19. Updates
  18. 20. Operators for queries <ul><ul><ul><ul><ul><ul><ul><ul><ul><ul><li>$ne
  19. 21. $in
  20. 22. $nin
  21. 23. $mod
  22. 24. $all
  23. 25. $size
  24. 26. $exists </li></ul></ul></ul></ul></ul></ul></ul></ul></ul></ul>
  25. 27. Operators for Updates <ul><ul><ul><ul><ul><ul><ul><ul><ul><ul><li>$inc
  26. 28. $set
  27. 29. $push
  28. 30. $pushAll
  29. 31. $pop
  30. 32. $pull
  31. 33. $pullAll </li></ul></ul></ul></ul></ul></ul></ul></ul></ul></ul>
  32. 34. ....and that's not all
  33. 35. <ul><li>MongoMapper
  34. 36. Mongoid
  35. 37. MongoRecord
  36. 38. MongoDoc </li></ul>MongoDB & Rails
  37. 39. Ways to get started <ul><li>Try MongoDB in a browser at http://try.mongodb.org
  38. 40. Try MongoDB in the the interactive shell
  39. 41. Check out the google group for developers, mongodb-dev
  40. 42. Stop by the irc chat irc://irc.freenode.net/#mongodb
  41. 43. Blogs, presentations, etc </li></ul>
  42. 44. My info Twitter: Sedward Blog: http://codesnotdead.blogspot.com/ Email: SethAEdwards (at) gmail.com

×