From old-style to Single Page Applications

Web applications are the best known application types involving JavaScript. Since its appearance, JavaScript and web browsers have established a lasting symbiosis that still holds, although with slightly different roles than in the past. In this context, in fact, we have seen a growing responsibility of JavaScript whose evolution, together with the evolution of HTML, has led us to create applications with an interaction model and an architecture very similar to desktop applications.

Old-style web applications

The traditional architecture of the early web applications consisted (and still consists) of a set of HTML pages, representing the user interface, with JavaScript scripts whose main task was managing ...

Get Mastering JavaScript Object-Oriented Programming 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.