title: How to update counter without sending request to server
body: <p>I m building a website where i need to update project counter whenever its updated in DB. when ever any user add a new project, the project counter should automatically update in browser, but i don't want to send ajax request to server again and again to get count from DB and then update counter in web browser.</p>
  
  <p>I want something similar "how facebook notification updated" automatically without refreshing page or sending any ajax request, i know there are using some PUSH technology but i not sure how it works.</p>
  
  <p>It will be very great if someone provide some Example code to achieve this.</p>
  
  <p>Thanks...</p>