O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Displaying Views

The heart and soul of most SPAs is a dynamic frontend. SPAs move a lot of the heavy lifting, related to display logic, onto the browser. Modern browsers have fast and powerful JavaScript engines that can handle a lot more computation than just a few years ago. In fact, Node.js is built on top of the VB engine, which is a standard part of the Chrome browser.

Most importantly, however, the main idea of an SPA is to give the user an experience approaching that of a desktop application. Complete page loads are a thing of the past, replaced by snappy changes in state.

In this chapter, we will build out the heart of our own SPA. This will be a dashboard where users can build giftlists and share them with other users. We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required