The Web4 Foundation is a nonprofit organization dedicated to the advancement of the open web through its fourth chapter: local-first, native webapps. The foundation is currently being organized as a 501(c)(6). Formal status is in progress. Similar to organizations like W3C and WHATWG, the Web4 Foundation also stewards, defines, and extends the standards of the open web. However, since Web4 executes extramurally instead of inside the browser, its scope of influence is not targeted towards browser vendors but rather towards language communities. Web4’s directive is to support the consistent implementation of these standards across all language communities to maximize skill-portability and minimize framework-fatigue.
The story of the web is written in chapters not generations. Generations replace what came before. Chapters contribute to a single, holistic story. Web1 was not replaced by Web2 and the intentions of Web3 was never to supplant the database. Each new chapter coincides with the emergence of a new computing paradigm and its unique combination of constraints and superpowers that it unlocks. From these new first principles, yesterday’s best practices become the new anti-patterns and a new species proliferates across the web.
| Chapter | Computing Paradigm | What it Enabled | Execution Location | Categories Unlocked |
|---|---|---|---|---|
| Web1 | Personal Computing | Static documents | Server-side | Long-form content academic papers, news, blogs, marketing sites, etc |
| Web2 | Cloud Computing | Dynamic webpages | Client-side | Short-form content social media, e-commerce, etc |
| Web3 | Decentralized Computing | Smart contracts | Peer-to-peer | Transactional content DeFi, digital ownership, etc |
| Web4 | Edge Computing | Local-first apps | Edge-side / WASM | Function over content utilities, games, collaborative, productivity, etc |
Infrastructure for Edge Computing has reached an interesting tipping point recently where, thanks to geo-various datacenter build-outs, long-haul fiber installations, and even 5G rollouts, ubiquitous low latency has been achieved globally. In a world where it’s possible to roundtrip to an edge server with lower latency than your screen’s own refresh rate, suddenly it makes sense to move a whole class of workloads off the client. The architecture of these new edge-native opportunities are neither server-side, nor client-side, they are middle-out and must be local-first.
Local-first applications (LFA) emphasize function over content. Typical categories include utilities, games, collaborative software, and productivity tools (categories far more prevalent in native app stores). In this species, the concept of a “page” is eliminated entirely and URLs are used, not as locations of resources, but as bookmarks for state. Local-first apps (LFA) differ from single-page apps (SPA) in a few fundamental areas:
| Single-page apps (SPA) | Local-first apps (LFA) | |
|---|---|---|
| Artifacts | Scripts | Binaries |
| State | Client-side | Extramural |
| Protocol | Request/response | Bidirectional |