WebSocket [1] is claimed to be the most efficient communication method for interactive Web applications.
REST [2] is essentially incompatible with WebSocket although some people try to merge them. That's IMO fairly pointless, since they are building on different concepts. YASMIN [3], OTOH was *designed from scratch* to support both event-based communication like WebSocket and postMessage(), as well as traditional request/response schemes. Anders 1] https://tools.ietf.org/rfc/rfc6455.txt 2] https://en.wikipedia.org/wiki/Representational_state_transfer https://cyberphone.github.io/doc/web/REST-in-peace.html 3] https://cyberphone.github.io/doc/web/yasmin.html _______________________________________________ dev-webapps mailing list dev-webapps@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-webapps