The Disadvantages of Single Page Applications (2014)
adamsilver.io
The Disadvantages of Single Page Applications (2014)
1–10 of 105 posts
Re: The Disadvantages of Single Page Applications (2014)
#2I don't think the SPA juice is worth the squeeze.
Re: The Disadvantages of Single Page Applications (2014)
#3The whole history API exists to help the SPA experience (but others too).
The site still needs to be able to render something like:
www.foo.com/customers/10 even if www.foo.com is a SPA and via clicks can go to /customers/10. This may require more server work, so you're not exactly making life much easier for yourself.
You still need to handle cases where a web crawler comes in without good javascript and has to index your site.
Re: The Disadvantages of Single Page Applications (2014)
#4Take "fast back" as an example. If your app is interactive and updates live, the "back" page can already be up and running with the latest data, instead of first loading a cached version and then having it update with JS later.
Also, personally I'm not so sure users care about things like the "stop" button working. And "fast back" depends on the situation.
Having said that: if these kinds of articles reduce the risk of things like blogger.com being a SPA, keep writing :)
Re: The Disadvantages of Single Page Applications (2014)
#5The aim isn't to "mimic the browser using Javascript" but to create an immersive application that feels like you're no longer in a browser at all.
Re: The Disadvantages of Single Page Applications (2014)
#6Ruby's turbolinks is a clever hack and mostly works approach to make nav-based (browser history- and crawler SEO-compatible) almost as responsive as SPA... it replaces assets, title, meta and body on-the-fly and updates the url location with javascript to save a whole page update. It's basically a hybrid of client+server coordinated fragment caching. There are some gotchas and workarounds for onLoad() and other JS hooks, but it mostly works pretty well.
Re: The Disadvantages of Single Page Applications (2014)
#7This seems to be aimed at Single Page Websites and not Applications. The aim isn't to "mimic the browser using Javascript" but to create an immersive application that feels like you're no longer in a browser at all.
Honorable mention for the application that you probably have in mind can go towards (IMO) React UI Builder which was posted to HN a few days ago (https://github.com/ipselon/react-ui-builder).
Re: The Disadvantages of Single Page Applications (2014)
#8Re: The Disadvantages of Single Page Applications (2014)
#9This seems to be aimed at Single Page Websites and not Applications. The aim isn't to "mimic the browser using Javascript" but to create an immersive application that feels like you're no longer in a browser at all.
The only one I can think of that is successful is Google Maps. Though lately I seem have all sorts of problems navigating it, so maybe it's no longer a success.
"Feeling like you're no longer in a browser" isn't really a customer goal or a product goal. It could be a means to an end, depending on the application, but I don't see that many people executing it effectively.
The more common case by far seems to be people who want too much control, without realizing that they are actually degrading the experience (i.e. by messing up navigation, hyperlinks, copy-paste, accessibility, latency, etc.)