This chapter will focus on schema design for schema less databases such as MongoDB. Although this may sound counter-intuitive, there are considerations that we should take into account when we develop for MongoDB. We will learn about the schema considerations and the data types supported by MongoDB. We will also learn about preparing data for text searches in MongoDB by connecting Ruby, Python, and PHP.
In this chapter, we will cover the following topics:
- Relational schema design
- Data modeling
- Modeling data for atomic operations
- Modeling relationships
- Connecting to MongoDB