2 ms·
the API is exactly why i love SPAs. remember the good old days when desktop applications were common? to me, creating an SPA feels exactly like writing a desk
by em-bee 4y ago
the API is exactly why i love SPAs.
remember the good old days when desktop applications were common?
to me, creating an SPA feels exactly like writing a desktop app.
i have a backend that does everything i need for a server, and i write a client, that accesses that server through its API. it's very clean and easy to manage. in my case i haven't been doing any backend coding for half a decade, because there is nothing left to be done. i just write client after client after client that does whatever is needed, using the backend as storage for state and data. it's so easy now. i can write multiple different clients that access the same data. i don't even have to write browser based clients. i can actually write true desktop clients, and they too are able to access the same data through the same API. need a mobile frontend? no problem either.
in fact even for applications where an SPA is supposedly not suitable, i am still going to make it an SPA because otherwise i'd have to create a new backend instead of reusing the one i already have.
so for me an SPA is now the cheapest, most efficient way to build any webinterface.
so yeah, SPAs will persist.