© Yiyi Sun 2019
Yiyi SunPractical Application Development with AppRunhttps://doi.org/10.1007/978-1-4842-4069-4_7

7. Single-Page Applications

Yiyi Sun1 
Thornhill, ON, Canada

The Web started as static web sites that served static HTML documents. The HTML documents contained hyperlinks to other documents distributed on web servers all over the world. Later, the web sites became web applications when web servers could generate dynamic content based on the user navigation and input. These web servers use a server-side technology, such as ASP, JSP, or PHP, to retrieve and update data from and to databases and generate HTML dynamically. This is called traditional server-side rendering (SSR).

Traditional SSR has the problem that every user interaction ...

Get Practical Application Development with AppRun: Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components now with the O’Reilly learning platform.

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