Re:A single-page app is almost always worse than a multi-pag...
by throwaway2016a on Tuesday October 30, 2018 @01:48PM
(#18339381)
It is generally accepted that when someone uses the phase "stateless API" they mean session state not data persistence.
Re:A single-page app is almost always worse than a multi-pag...
by marcosdumay on Tuesday October 30, 2018 @06:44PM
(#18341886)
Yes, and this does nothing to help with the problem of state coherence between the backend and frontend.
Re:A single-page app is almost always worse than a multi-pag...
by TimJYoung on Tuesday October 30, 2018 @12:59PM
(#18338770)
Most JSON/data APIs for SPAs are similar to SQL database servers: maintaining a persistent connection is useful for performance reasons, but there's nothing about the API that dictates that it's required. The only state that is required across API calls is an authenticated session, and that is maintained on the server side.
Re:A single-page app is almost always worse than a multi-pag...
by thecatspaw on Tuesday October 30, 2018 @02:40PM
(#18339996)
and even authentication can be done stateless. Makes load balancing easy since each request can go to a different server
Does it not access any data?