4 ms·
I think the beauty of SPAs is consuming your own APIs, because it makes you realize that your website is just another client application. Nobody worth their sa
by 5trokerac3 8y ago
I think the beauty of SPAs is consuming your own APIs, because it makes you realize that your website is just another client application.
Nobody worth their salt would recommend coupling display components and database manipulation together in an iOS or Android app. A webpage is the same thing, because it's not running on your server, it's running in the browser on the user's computer.
With this blog post, like most "I don't like X technology" blog posts, I find myself asking, "does the author not like this technology, or has he not taken the time to become a real SME in it?"
- spricket 8y agoI guess another real advantage of SPA is that you get an API for free. Last place I worked, the product people had a genius idea to "build a public API". They decided to give us half a year to do it. We had a SPA using OAuth. I spent a few weeks adding docs, ran Swagger codegen, then declared it finished. Every call our front-ends used was now part of an API. Then we just trimmed out the parts we didn't want to officially support.