Open martinheidegger opened 9 years ago
@martinheidegger We were shocked as well, the same question appeared at NodeSchool Silesia meeting. We're trying to develop something here: https://github.com/rspective/websockito (we've used recently released how-to-npm
as a starting point).
At the beginning we would like to focus on two modules - ws
and socket.io
used only on the server side, at least for now. Feedback and help is welcome!
Do you have any idea (or even better - feedback from community) what topic should be covered in such workshop?
@timoxley and me just talked on gitter about a content for a socket.io workshopper and we came up with two different approaches to it that could build on each other.
A form submission workshop that incrementally works up to websockets:
Build against a decentralised (optionally online) Server system that starts with the basics of sockets but soon becomes a lot more complex.
The flow I described is designed to ensure people understand the lesser-known alternatives like long-polling and SSE as well as giving people a taste of how to use websockets.
Underlying motivation is to curb the "websockets for everything" trend that's been going on for a few years now while alternatives are more widely supported, accessible and often more suited to the task at hand. Particularly, I'd like to raise awareness of SSE, which can replace a large number of places where websockets are currently used, without the proxying/intermediaries hassles of websockets (though this is getting better).
I have been asked at the NodeSchool Osaka tonight about a workshop specifically for socket.io. I was shocked to find that it doesn't exist. Probably there should be one at least on that topic. Isn't this one of the most-common uses of Node.JS?