[Twisted-Python] Twisted vs jQuery Deferreds (was Re: RPC design questions)

Jonathan Lange jml at mumak.net
Thu Aug 25 05:48:17 EDT 2011


On Thu, Aug 25, 2011 at 10:43 AM, Tobias Oberstein
<tobias.oberstein at tavendo.de> wrote:
>>> Note that as far as I know, MochiKit isn't actively developed anymore.
>>> Google's Closure has a fork of MochiKit's Deferred's, which seems to
>>> incorporate some of Dojo's code as well.
>>>
>>>
>>> http://code.google.com/p/closure-library/source/browse/trunk/third_party/clos
>>> ure/goog/mochikit/async/
>>>
>>
>> Although it is certainly not "mainstream", like jQuery, or Dojo, or
>> Closure, the most accurate implementation of Deferred in JavaScript is in
>> Nevow.Athena.  I thought it might be worth mentioning, even though it
>> isn't part of a widely-adopted JS lib.
>
> I've been trying to find the code, but I'm too stupid, can't find
>
> http://bazaar.launchpad.net/~divmod-dev/divmod.org/trunk/files
>
> Where is it? Do you have a pointer to the JS Deferred?
>

http://bazaar.launchpad.net/~divmod-dev/divmod.org/trunk/view/head:/Nevow/nevow/js/Divmod/Defer.js

jml



More information about the Twisted-Python mailing list