I'm planning on building a website where you can play (turn-based) games with other people. I need to be able to communicate which moves have been made. I think push-notifications are best suited for this. I've read a little bit about node.js; is that the way to go? Or are there other libraries that will make it easy to do this sort of thing?
JavaScript library for push/comet/reverse-ajax notifications?
3.1k Views Asked by mpen At
3
There are 3 best solutions below
1

There are a number of solutions with a number of different technologies. Node.js and socket.io is just one popular solution.
If you are a Ruby developer then Faye (which also has a node.js version) or juggernaut are options. For .NET there is SignalR or XSockets. For Java there's jwebsocket or WaterSpout Server. There are many more too.
I'm maintaining a list of realtime web technologies which will hopefully be a good starting point.
This is exactly what WebSockets is a good use case for. But you need a fallback for browsers without WebSocket support, so use Socket.io, it has good support for Node.js.