Post ASY47GcWnWnPMWMb0S by developit@mastodon.social
(DIR) More posts by developit@mastodon.social
(DIR) Post #ASY47EjXoTDhVhdAfI by developit@mastodon.social
2023-02-10T18:48:03Z
0 likes, 1 repeats
I'm not sure who needs to hear this, but here goes:Whether to build something as "an SPA" or "an MPA" has absolutely nothing to do with opinion or preference. It's a technical decision and should be based on concrete technical criteria.It's also a false dichotomy. There is a spectrum of approaches you must evaluate between when building for the web. Pretending there are only two is an oversimplification that produces poor outcomes regardless of which you choose.
(DIR) Post #ASY47GcWnWnPMWMb0S by developit@mastodon.social
2023-02-10T18:51:20Z
0 likes, 0 repeats
As an example: is any site that uses pushState to avoid full page loads a Single-Page App? Not necessarily!A site can be built with standard links and forms, but then layer in pushState as an optimization (turbolinks and others do this).
(DIR) Post #ASY47I8TAFwM3sJcQq by developit@mastodon.social
2023-02-10T18:53:55Z
0 likes, 0 repeats
Conversely, is a site that does full page loads a Multi-Page Application? Not necessarily!You can build a thick-client application that happens to reload the page when moving between sections/screens. That doesn't make the application "server-driven" any more than a fully client-side application. There are fully client-side apps that do "page loads" just to isolate/bound memory leaks.