Jump to content

Single-page application

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mahemoff (talk | contribs) at 01:37, 19 August 2008 ( Created page with 'A Single Page Application (SPA) is a self-contained Web Application. In a SPA, all necessary code - HTML, Javascript, and CSS resides in a single [...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A Single Page Application (SPA) is a self-contained Web Application. In a SPA, all necessary code - HTML, Javascript, and CSS resides in a single HTML file. The term was coined by Steve Yen in 2005.

One important property of SPAs is that they can be executed from a local file using the File URI scheme, unlike normal web pages which must be served over HTTP. This gives users the ability to download the SPA from a server and run the file from a local storage device, without having to run any server software.

In order to store and update data, SPAs must be self-modifying. That is, the SPA must be capable of writing itself to disk, including a representation of the state that is to be persisted.

Tiddlywiki is an example of a SPA.

References

Single Page Applications. Trimpath wiki. Retrieved on 2007-08-18.