title: Difference between express and socketio for nodejs
body: <p>I am new to nodejs programming and going through various js that are being developed for node. My question is a basic one. Can someone please explain me the difference between express and socketio.</p>
  
  <p>From what I know, express is a middleware on which we can use template engines like jade to push data to browser. What does socketio do then? Is it a transport layer? It is confusing to me to understand the difference and why we need express and socket in nodejs apps.</p>