On Wednesday, 29 July 2015 at 07:30:50 UTC, yawniek wrote:
in my opinion also the REST style apis will come to an end as we can easily have stateless apis these days ( 86.62%of browsers have websockets already according to http://caniuse.com/#feat=websockets ). The whole ghetto around maintaining state over http for a web application is nuts if you think about how native applications work.

But REST is supposed to be stateless! You maintain state in the client and use the server like a database/information service. Most applications are better off with REST and SPDY as the main transport.

Websockets are of limited usefulness, and only for auxillary information (e.g. pushing notifications about updates). It's only a TCP connection where the server can initiate communication.

Reply via email to