Tuesday 10 October 2017

Good ways to organize socket.io server-side code?

I'm adding socket io functionality to one of our big servers and I'm struggling to organize the code. Because I have to pass the main socket.io Server instance everywere, everything socket.io related is in one ugly lump of code (like this http://ift.tt/2xx1jLL ). Are there any examples online of healthy, modular web-server using socket.io?

Submitted October 10, 2017 at 05:39PM by sosloow

No comments:

Post a Comment