Using Client-Side Templates

JavaScript-based single page web applications, in which parts of the page update dynamically in place in response to server-side data updates or user actions, provide the user with an experience that closely matches that once reserved solely for native desktop and mobile apps, avoiding the need for full page refreshes to update individual parts of a page or append new user interface components to the current page. In this chapter, we will look into options for updating the current page while maintaining a distinct separation between the data to be displayed and the DOM structure within which to present it. ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.