[Term of the Day]:Single Page Application

[Term of the Day]:Single Page Application

Term of the Day 
 

Single Page Application 

 

Definition — What is a SPA? 



The term Single Page Application aka SPA is is a web application or website that fits on a single web page with dynamic actions without refreshing the page. SPA does not fetch new HTML from the server to load new pages. Instead, it uses javascript and client-side routing to render new pages instantly. It gets data from the server via AJAX requests and renders that data into content on the client, using a JS framework like React or Angular. SPA is very different from classic web development, which renders data into HTML pages on the server, and passes whole HTML files to the client when a new page loads. In SPA the whole page gets downloaded from the server for the first time and later when a user clicks or requests any data, only that will get loaded. SPA never reloads the whole page again only the requested information will get updated. And due to this, the page loading gets much faster than that of a normal page. All these enhance the user experience, SPA is the perfect choice for businesses, the reason being SPA provided unique and seamless experiences for its users.

 

Some of the best examples for single-page applications are:

  • Netflix
  • Facebook
  • Pinterest
  • Twitter
  • Linkedin
  • Pinterest
  • Gmail
  • Paypal and many more are using SPAs to build a fluid, scalable user experience.