O'Reilly logo
  • Rajnesh tripathi thinks this is interesting:

How Modern Web Architecture Works

This flow works as follows:

1. The user’s browser requests a static HTML page.

2. The HTML page contains JavaScript that builds the base structure of the page.

3. The JavaScript then performs Ajax to load content (typically JSON) via an API.

4. JavaScript then takes this content and modifies the DOM to represent the content.

The main difference with this method is that the angle brackets (HTML) are generated on th...