My thoughts on web development.
Call server functions from the client and client functions from the server. This is an interesting abstraction for web sockets (it uses socket.io).