2 ms·
The title brings nostalgia! For me it all started when Michael Carter worked on orbited, years ago (was it 2008?). Michael made a number of important "discover
by majke 8y ago
The title brings nostalgia!
For me it all started when Michael Carter worked on orbited, years ago (was it 2008?). Michael made a number of important "discoveries", like the famous document.domain trick:
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Changing_origin https://developer.mozilla.org/en-US/docs/Web/Security/Same-o...
Then I played with libevent, trying to create a framework for comet applications. Then redis came along, perfect for backend and Websockets in browsers.
Then of course node.js became a popular engine for messaging applications.
In the mean time we worked on SockJS, to make the transition from comet to websockets smoother. Oh, all those tricks employed in Sockjs...
https://github.com/sockjs/sockjs-client#supported-transports-by-browser-html-served-from-http-or-https https://github.com/sockjs/sockjs-client#supported-transports...
There still is a place for things like Opera Eventsource, but it seems websockets over TLS is now the best, stable, and portable way of doing messaging on the web.