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@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. http://wiki.zope.org/zope2/LocalFS