[Twisted-web] [Nevow] JavaScript code

Valentino Volonghi aka Dialtone dialtone at divmod.com
Sat Jul 29 15:48:09 CDT 2006


On Sat, 29 Jul 2006 22:15:08 +0200, Tristan Seligmann <mithrandi-twisted-web at mithrandi.za.net> wrote:

>It is? I believe usage of MochiKit.DOM for this purpose is "deprecated"
>within Divmod itself, but there may be some isolated uses. The main
>dependency blocking MochiKit's removal is the client-side JSON
>serialization functionality.

I didn't know JSON was involved too, but MochiKit.DOM is used throughly in Divmod's Quotient.

>> a problem by itself because, for example, the next MochiKit version will
>> also provide a rich package for visual effects, also MochiKit works with
>> all the main browsers while Nevow currently doesn't work with Opera and
>> Safari (because of Safari) and I'm unsure about IE (although I think it
>> works there).
>
>If you want to use MochiKit in your own code, there's not too much
>stopping you; currently, it is problematic to try and use a different
>version of MochiKit to the one distributed with Nevow, but once this
>dependency is completely phased out, that problem will no longer exist.

Of course. I might use dojo toolkit as well. But having two different deferreds implementations in the same code is quite difficult to deal with. And also using mochikit would only solve the visual effects problem, whereas the browser compatibility problem won't be solved (not that I especially care about the bugged safari).




More information about the Twisted-web mailing list