MongoDB considerations
In Chapter 2, Setting Up the Document Store with MongoDB, we provided a concise introduction to MongoDB that should be enough to get you started with simpler projects. However, MongoDB is a complex ecosystem employed by enterprise-level companies, so diving deeper into its features and patterns will only benefit your developer’s abilities and understanding of the NoSQL paradigm.
One of the first steps in this direction is data modeling or schema design – and it is often said that your data model should reflect how your application will see the data and its flow, starting from the queries you will be making. There are advanced design patterns that apply to MongoDB schemas that are beyond the scope of this book.
Some of the more popular MongoDB document modeling suggestions were mentioned in Chapter 2, Setting Up the Document Store with MongoDB, but let’s add some more, formulated differently – they tend to sound a bit like Haiku...