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

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
主站蜘蛛池模板: 梨树县| 宁海县| 页游| 田东县| 灵山县| 鄄城县| 广平县| 吉首市| 象山县| 察雅县| 克什克腾旗| 长治市| 石河子市| 绵竹市| 新河县| 双峰县| 衡阳市| 石柱| 宝应县| 英德市| 子长县| 五常市| 吉隆县| 神池县| 舞钢市| 华亭县| 南雄市| 康保县| 绥德县| 子洲县| 云南省| 科尔| 中卫市| 花莲县| 江孜县| 阳朔县| 宜宾市| 拉孜县| 剑阁县| 新昌县| 山西省|