March 10, 2021 / 3 min read
To be honest, Single Page Applications (SPAs) aren’t really a new thing. Web developers have been creating those for many years now. However, we can see an increasing tendency regarding their popularity. The same trend applies to frameworks associated with them. But what exactly are SPAs?
In a traditional approach, in so-called MPAs (Multi Page Applications) whenever the user wants to display new content (for example open an article displayed on the news page), the browser redirects them to that given article and reloads the website. This means that the browser has to download the entire page content from the server and parse it from scratch. If you want to see how that works in practice, go to The Times website, and click any given article.
It looks a bit different in the case of SPAs. Here, the page loads only once during the entire visit. SPA interacts with the user by dynamically rewriting the current page content using new data from the server. In other words, every piece of new content (e.g., the article mentioned in the previous paragraph) is dynamically downloaded from the server and presented to the user within the same screen.
The SPA approach allows you to build more organic and interactive pages, where the user experience is not interrupted by the browser's loading. Some of the most famous examples of SPAs are:
Now, let us think for a few moments what this approach means to the website developer, client and the end user/visitor.
[1] https://world.optimizely.com/blogs/remko-jantzen/dates/2020/5/introducing-foundation-spa-react/
Daniel is a developer at Noa Ignite with a background in backend, fronted and devops technologies. Currently he's working mostly with Optimizely, Umbraco, React and Azure. After work Daniel spends most of his time being a parent, playing boardgames, painting miniatures and running D&D sessions.
July 26, 2024 / 10 min read
This guide covers how Optimizely Data Platform (ODP) can improve your business with real-time customer insights, personalised campaigns, and simple data integration and will give you...
July 3, 2024 / 7 min read
This guide will provide you with what to consider when choosing between Optimizely DXP Cloud Services and managing your own infrastructure. It's not a binary choice; each option has...