- Mastering MongoDB 3.x
- Alex Giamas
- 163字
- 2021-08-20 10:10:49
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
推薦閱讀
- 大學計算機信息技術導論
- 軟件架構設計
- 大數據專業英語
- 輕松學PHP
- 西門子S7-200 SMART PLC從入門到精通
- 大型數據庫管理系統技術、應用與實例分析:SQL Server 2005
- Troubleshooting OpenVPN
- 面向對象程序設計綜合實踐
- SAP Business Intelligence Quick Start Guide
- Extending Ansible
- Hands-On Data Warehousing with Azure Data Factory
- 工業機器人實操進階手冊
- 空間機器人
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- Hadoop Beginner's Guide