[Zope] Best Practice for including Javascript in Zope Applications

Tom Von Lahndorff tom at modscape.com
Wed Jan 2 09:38:39 EST 2008

On Jan 1, 2008, at 7:20 PM, Matt Hollingsworth wrote:

> Hello,
> 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 writing.  It is a fairly extensive library, so  
> I didn’t really want to copy/paste every single file into a dtml  
> method.  I looked all over the place for some discussion on this  
> subject, but only found things relating to plone (which apparently  
> has a javascript registry); however, I wish to stay away from plone  
> for this particular application.
> What should I do to use these libraries?  Is there a canned solution  
> for this sort of thing?
> Thank you much!
> -Matt
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )

You can ftp the files to a "static" directory on the file system and  
use LocalFS to access them.

More information about the Zope mailing list