The differences between SQL and NoSQL databases

In Chapter 2, Model-View-Whatever, we briefly discussed document-oriented databases, otherwise known as NoSQL databases. This concept is imperative to the MEAN stack, as the M in the MEAN acronym stands for MongoDB, a widely used NoSQL database implementation. NoSQL databases are conceptually divergent from traditional relational, or SQL, databases.

Non-relational databases have existed for decades, but they did not achieve any widespread use until more recently. This rise in popularity led to the term NoSQL first being applied to these types of databases. The reason for the increase in the use of NoSQL databases has primarily been to solve the problem of handling Big Data, or massive and complex ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.