Single-Page Website vs Single-Page App
People think a one-page website is a single-page app, and it is not. A single-page website is a design choice: all the content sits in one long scroll. A single-page app is a way to build a web app, where the page swaps its parts without loading a new page. An app built that way can have hundreds of screens.
Single-Page Website
A whole website on one long page. The menu jumps to sections.
A single-page website puts all its content on one long page. The menu links jump down to sections, like About, Work and Contact. Visitors scroll through it like a story. It suits small sites, events and portfolios with a few things to say. It is a design choice and is not the same as a single-page app, which is a way of building web apps.
Single-Page Application (SPA)
A web app that loads one page once, then changes it with JavaScript.
A single-page application loads one web page once and then changes it with JavaScript. When you click a link, the app swaps out part of the page instead of loading a new one. It asks the server only for data, not for whole pages. This makes moving around feel fast, like a phone app. The first load can be slow, because the browser must fetch all the code first.
In one line
- Single-Page Website
- A whole website on one long page. The menu jumps to sections.
- Single-Page Application (SPA)
- A web app that loads one page once, then changes it with JavaScript.
These live in different corners of the glossary (Design and Development), which is exactly why they get confused.