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

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
主站蜘蛛池模板: 平果县| 临沭县| 康定县| 朔州市| 景德镇市| 勐海县| 沈阳市| 新密市| 揭东县| 溧阳市| 桓台县| 南城县| 金寨县| 邳州市| 清丰县| 云浮市| 涟水县| 兴隆县| 寻甸| 丹棱县| 寻乌县| 清水河县| 满城县| 师宗县| 长岭县| 海晏县| 汕尾市| 永泰县| 来宾市| 班玛县| 苍南县| 黎平县| 肇州县| 宜阳县| 双柏县| 错那县| 师宗县| 宝坻区| 怀集县| 宾阳县| 甘肃省|