11. Intro to MongoDB
Schema Free
Document Base
High Performance
JSON Style Storage: BSON
Dynamic Query
12. a lot of more...
Flexibility:
- Schema Free
- Database setting: replication, secondary DB
- Model: data type, collection, _id, associations
- Lazy Cursor
e.g. rubyconftw = RubyConf.where(:location=>“Taiwan”) #cursor created
puts rubyconftw.entries #cursor executed
13. more...
Capped Collection
- logs, messages
- fixed after being created
... ...
14. ODM
MongoMapper
MongoRecord
Mongoid
- Rails 3
- Active Record Style
- Ruby Driver