JQuery.Deferred is the most important client-side tool you have
eng.wealthfront.com
JQuery.Deferred is the most important client-side tool you have
1–4 of 4 posts
Re: JQuery.Deferred is the most important client-side tool you have
#2I really like the fact that jQuery's AJAX methods were converted to support this.
Re: JQuery.Deferred is the most important client-side tool you have
#3yes jQuery.Deferred is a very elegant solution to nested callbacks et all....
I have got it at the heart of the Single Page Application Architecture I am building currently.
e.g. stionaJS.DAL.authenticate(creds) .pipe(listDomains) .done(withMultiUserDomain) .done(withSingleUserDomain) .fail(failedAuthentication);
Re: JQuery.Deferred is the most important client-side tool you have
#4yes jQuery.Deferred is a very elegant solution to nested callbacks et all.... I have got it at the heart of the Single Page Application Architecture I am building currently. e.g. stionaJS.DAL.authenticate(creds) .pipe(listDomains) .done(withMultiUserDomain) .done(withSingleUserDomain) .fail(failedAuthentication);
I hasten to add, combining this with KnockoutJS works wonders!