JavaScript¶
This post discusses JavaScript.
Table of Contents
Single-Page Applications (SPAs)¶
Many JavaScript applications require running a server to host parts of the application. A pervasive example are web-pages that use the popular Node.js framework. These require that the node
server is running somewhere to serve the page – either on a web-server which is hosting the pages, or on the client's machine if functioning as a stand-alone application.
This means someone must start the node
server, either placing a burden on the client (who must now install Node.js
and start the server) or preventing the page from being hosted on a static site.
The alternative is to provide the entire JavaScript application through a static web-page and have everything running on the client's web browser. This latter approach is called a single-page application (SPA).
References¶