[Zope] Newbie: Location of External method files

Dieter Maurer dieter@handshake.de
Thu, 29 May 2003 20:44:03 +0200


Paul Winkler wrote at 2003-5-28 14:27 -0400:
 > On Wed, May 28, 2003 at 12:14:59PM -1000, Vern T Takebayashi wrote:
 > > Please excuse my ignorance as I am new to Zope.  Is the Extensions folder
 > > in the Zope root directory the only place that Python external method
 > > files can be located?
 > 
 > well, there's $SOFTWARE_HOME/Extensions and $INSTANCE_HOME/Extensions
 > if you're using INSTANCE_HOME.
 > 
 > > Or, can external methods be placed in the
 > > Extensions folder of a Product (so that they are only visible within the
 > > scope of that Product).
 > 
 > nope.
 
I think, I know it better :-)

  When an External Method belongs to a product (e.g. External Methods
  that belong to CMFDefault or to support products), it
  is a *VERY* good idea (almost a must) to put the code
  for these External Methods in the "Extensions" subfolder of
  the product.

  When you create the External Method in Zope, you use
  "product_name.module_name" as module.


Dieter