Last post Aug 18, 2017 02:16 AM by Jean Sun
Aug 17, 2017 09:32 PM|jrahma|LINK
How would you compare between the single page application (SPA) vs multiple page? and when to use each?
Aug 18, 2017 02:16 AM|Jean Sun|LINK
There are many pros and cons of SPA as well as of MPA. I hope that the lines below will clear the differences between these two design patterns and bring you closer to the point where you will know what kind of application fits your idea more.
A single-page application is an app that works inside a browser and does not require page reloading during use. You are using this type of applications every day. These are, for instance: Gmail, Google
Single-page sites help keep the user in one, comfortable web space where content is presented to the user in a simple, easy and workable fashion.
Multiple-page applications work in a “traditional” way. Every change eg. display the data or submit data back to server requests rendering a new page from the server in the browser. These applications
are large, bigger than SPAs because they need to be. Due to the amount of content, these applications have many levels of UI. Luckily, it’s not a problem anymore. Thanks to AJAX, we don’t have to worry that big and complex applications have to transfer a lot
of data between server and browser. That solution improves and it allows to refresh only particular parts of the application. On the other hand, it adds more complexity and it is more difficult to develop than a single-page application.
Before deploying a web application, you need to consider the goal of it. If you know you need multiple categories (because, for instance, you run an online shop or publish a lot of other content) — use
a multi-page site. If you are sure that your site is appropriate for a pure single-page experience — go for it. And if you like SPA but can just barely fit everything into a single page, consider the hybrid site instead. This is another way I haven’t mentioned
before. A hybrid application takes what is the best in both approaches and try to minimize the disadvantages.
Reference link :