[Zope] product development and zsql

Dieter Maurer dieter at handshake.de
Tue Feb 24 14:56:54 EST 2004


patrick sullivan wrote at 2004-2-23 13:10 -0800:
> ...
>there exists manage_addAfter(self, container=None,
>context=None).  But, now the question becomes, how do i call a
>zsqlmethod from my method inside of my product?  do i import ZSQLMethod
>and create one on the fly?

This would be one option -- not the one I would use.

> Can one be sitting somewhere in my Product
>directory?

Someone told you about a special product that may make this possible.


I would use one of the following options:

  *  create a Z SQL Method once and make the resulting object
     a class level attribute (or maybe a persistent instance level attribute).

  *  access the Z SQL Method via acquisition

-- 
Dieter



More information about the Zope mailing list