title: nodejs: Ajax vs Socket.IO, pros and cons
body: <p>I thought about getting rid of all client-side Ajax calls (jQuery) and instead use a permanent socket connection (Socket.IO). </p>
  
  <p>Therefore I would use event listeners/emitters client-side and server-side.</p>
  
  <p>Ex. a click event is triggered by user in the browser, client-side emitter pushes the event through socket connection to server. Server-side listener reacts on incoming event, and pushes "done" event back to client. Client's listener reacts on incoming event by fading in DIV element.</p>
  
  <p>Does that make sense at all?
  Pros &amp; cons?</p>