Write Better JavaScript with Promises
A beginner-oriented case for using jQuery's promise objects instead of plain callbacks, built around fetching lorem ipsum from the HipsterJesus API. It argues promises read more clearly (separate done/fail/always handlers), make better APIs (a method can return a promise rather than take a callback), allow chaining via `then` to build small data-transforming methods like html, paragraphs and sentences, and simplify coordinating parallel requests with `$.when` versus manual flag-checking. It also notes the since-deprecated Angular feature of binding templates directly to promises, and flags that jQuery's Deferred differs subtly from the Promises/A+ standard.