官术网_书友最值得收藏!

Schema Design and Data Modeling

The second chapter of our book will focus on schema design for schema-less databases such as MongoDB. This may sound counterintuitive; in fact there are considerations that we should take into account when developing for MongoDB.

The main points of this chapter are:

  • Schema considerations for NoSQL
  • Data types supported by MongoDB
  • Comparison between different data types
  • How to model our data for atomic operations
  • Modeling relationships between collections:
    • One to one
    • One to many
    • Many to many
  • How to prepare data for text searches in MongoDB
  • Ruby:
    • How to connect using the Ruby mongo driver
    • How to connect using Ruby's most widely used ODM, Mongoid
    • Mongoid model inheritance management
  • Python:
    • How to connect using the Python mongo driver
    • How to connect using Python's ODM, PyMODM
    • PyMODM model inheritance management
  • PHP:
    • Sample code using annotations-driven code
    • How to connect using the MongoDB PHP driver
    • How to connect using PHP's ODM, Doctrine
    • Model inheritance management using Doctrine
主站蜘蛛池模板: 福鼎市| 宝丰县| 波密县| 北川| 庆城县| 民勤县| 芒康县| 虞城县| 黄浦区| 永寿县| 阿坝| 霍邱县| 碌曲县| 福建省| 丰县| 澄江县| 额济纳旗| 革吉县| 昌平区| 沁水县| 吴川市| 南和县| 高密市| 镇巴县| 乳源| 江津市| 剑河县| 荔波县| 玛曲县| 蓝山县| 康定县| 五华县| 姜堰市| 新昌县| 土默特右旗| 杭锦旗| 灵寿县| 开远市| 连城县| 岳普湖县| 丰都县|