Chapter 6. Data Binding, and Why You Should Embrace It

The View layer of a single page application goes far beyond statically displaying HTML and data through JavaScript templating engines or other means. A modern JavaScript application must handle real-time updates and be imbued with reactivity. Some of the protocols described in Chapter 4REST is Best - Interacting with the Server Side of Your App such as WebSockets, MQPP, and DDP can be used to actively retrieve updates to data for an application, but the ability to bind those changes to the DOM and display them in the View must be handled on the frontend of the application. This is where data binding comes into play.

In this chapter, you will learn:

  • What data binding is?
  • The differences between ...

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.