What is the difference between callback and promise
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6801283/what-are-the-differences-between-deferred-promise-and-future-in-javascript">What are the differences between Deferred, Promise and Future in Javascript?</a>  </p>
</blockquote>



<p>Can someone point out what are the differences are between callbacks and promises? When should one use promise etc?</p>

<p>Also links on how to create and use promises will be appreciated.</p>
