Using jQuery.Deferred to control UI flow

promiseI’ve seen tons of examples on the web about how to use promises. Most invariably show how to use in Ajax requests to handle callbacks which although very useful in that context, makes me think that is all it’s useful for.

Then, I picked up this slim book, Async Javascript by Trevor Burnham that showed how I can use promises to model user interface flows. This piqued my interests as I could really see how this could be useful.

Ruminations
  • Well, back after exactly a year. Hopefully, I am back this time with more goodies and less breaks. The last year has been extremely busy - here's to hoping to a more toned down rest of 2010.