Re:None of my projects want to be SPAs
by BerislavLopac on Wednesday February 13, 2019 @08:29AM
(#19152849)
It should be trivial to build a server-side client app in the same manner, using an API for any persistence instead of directly accessing the database. Most of the full-stack frameworks (Django, Rails, Laravel etc) are unfortunately still conflating the persistent state entities with business logic objects.
[ Parent
| on HN ]
Re:None of my projects want to be SPAs
by em-bee on Wednesday February 13, 2019 @03:13PM
(#19156499)
you are of course right. there is no stopping anyone from doing that. in fact the university which initially developed the backend i am using has been doing just that, using the backend like a database, creating "frontends" in PHP.
though that doesn't negate the point of SPA which enables building clients that run directly on the users devices and are not hampered by the difficulty of emulating stateful clients on a server.