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

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
主站蜘蛛池模板: 新绛县| 英吉沙县| 阳朔县| 祁东县| 当雄县| 宁夏| 古交市| 惠东县| 平顶山市| 乐至县| 毕节市| 平昌县| 株洲市| 永泰县| 尤溪县| 疏附县| 祁东县| 赞皇县| 白银市| 左云县| 三台县| 台南县| 樟树市| 宜兰市| 呼玛县| 古蔺县| 宾川县| 长汀县| 图木舒克市| 英山县| 定日县| 大连市| 当阳市| 大竹县| 临汾市| 泗水县| 晋中市| 河西区| 灵丘县| 合水县| 波密县|