Chapter 3. SPA Essentials – Creating the Ideal Application Environment

You should now be fairly comfortable working within the Node.js ecosystem of modules, tasks, and package management. In this chapter, we will dive a bit deeper into the intricacies of a JavaScript SPA and its dependencies. We will explore various data formats and database types, SPA encapsulation architectural patterns, and more through the following topics:

  • JSON and other data formats
  • The differences between SQL and NoSQL databases
  • When to use SQL versus NoSQL databases
  • Methods of presenting a single page application container
  • Serving and managing layouts

The JSON data format

JavaScript Object Notation (JSON) is something that most JavaScript developers today are quite familiar ...

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.