§7.1.

Chapter 7

Accessing a web API

This chapter discusses a modern interpretation of the three-layer architecture, namely single-page applications (SPA):

  • What is a single-page application?

  • How can a single-page application communicate to a web API?

  • Are there simple ways of dealing with errors and delays in the communication logic of a single-page application?