In this section, we will describe some useful tips for application design that we did not cover or emphasize enough in the previous chapters.
Application design
Schema-less doesn't mean schema design-less
A big part of MongoDB's success can be attributed to the increased popularity of ORM/ODMs. Especially with languages like JavaScript and the MEAN stack, the developer can use JavaScript from the frontend (Angular/Express) to the backend (Node.js) to the database (MongoDB). This is frequently coupled with an ODM that abstracts away the internals of the database, mapping collections to Node.js models.
The major advantage is that developers don't need to fiddle with the database schema design, as this is automatically...