Tag Archives: Callbacks

Using jQuery Deferred Objects and Promises Instead of Callbacks

In a previous post jQuery Tip #7 – Consolidating jQuery Ajax Calls I talked about how Ajax calls can be consolidated into a JavaScript object to promote re-use and simplify maintenance. In that post I showed how the Revealing Module Pattern can be used to provide a more structured approach and how a callback can be … Continue reading Using jQuery Deferred Objects and Promises Instead of Callbacks