I'm completely new to web sockets so please forgive me if this is a stupid question, but I was wondering what kind of support is required on the server side and which web frameworks currently provide this? Which of these frameworks does your book cover?
On the server side, you need something that can negotiate the WebSocket handshake, handle the incoming data and frame the outgoing data properly. There are several implementations available in various languages (http://en.wikipedia.org/wiki/WebSocket#Server_side), but the most popular these days is Socket.io. Socket.io also provides a client side library and several fallback mechanisms. No matter which backend you go with, the logic of the application is still up to you. You have to figure out what data you want to pass and what you are going to do with it.
Joined: Mar 02, 2010
subject: Question for Scott Mattocks: which frameworks support web sockets?