W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2017

WebSocket + YASMIN = Viable REST Replacement

From: Anders Rundgren <anders.rundgren.net@gmail.com>
Date: Sat, 28 Jan 2017 05:55:23 +0100
To: public-webapps <public-webapps@w3.org>
Message-ID: <bf9170f6-032c-4614-c157-cb54ef1a6600@gmail.com>
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.

Enjoy!

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
Received on Saturday, 28 January 2017 04:56:05 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:41 UTC