[Zope] Re: Best Practice for including Javascript in Zope Applications

2008-01-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Hollingsworth wrote: I'm new to developing for zope, and I have a quick question regarding some best practices when using Javascript in zope applications. I would like to use Ext JS (http://www.extjs.com/ ) in an application that I am

Re: [Zope] Re: Best Practice for including Javascript in Zope Applications

2008-01-01 Thread Andreas Jung
--On 1. Januar 2008 21:16:21 -0500 Tres Seaver [EMAIL PROTECTED] wrote: What should I do to use these libraries? Is there a canned solution for this sort of thing? The simplest route: - Create a File object in the ZMI for each separate javascript library (e.g., 'extlibrary.js').

Re: [Zope] Re: Best Practice for including Javascript in Zope Applications

2008-01-01 Thread Andreas Jung
--On 2. Januar 2008 06:16:06 +0100 Andreas Jung [EMAIL PROTECTED] wrote: --On 1. Januar 2008 21:16:21 -0500 Tres Seaver [EMAIL PROTECTED] wrote: What should I do to use these libraries? Is there a canned solution for this sort of thing? The simplest route: - Create a File object

Re: [Zope] Re: Best Practice for including Javascript in Zope Applications

2008-01-01 Thread Tino Wildenhain
Andreas Jung wrote: ... Larger JS frameworks like Dojo tend to be split across several files and directories. The fun starts when such frameworks load/reload stuff using relative URLs. A co-worker using Dojo intensively had to invest some time in order to integrate such a JS monster properly.