[Zope3-Users] Reference to a COM object (or other external resource) in a Zope object

Achim Domma domma at procoders.net
Wed May 24 08:50:36 EDT 2006


thealx at poczta.onet.pl wrote:

> I am creating a kind of Zope proxy to a 3rd party COM object (I'm accessing it using Pywin32 facilities). 
> I have to store a reference to this object somewhere in my Zope object.
> But, for obvious reasons, this COM object cannot be serialized so I cannot put it in any attribute of my Zope object. 
> On the other side, initialisation of the object on each request is too time&cost-consuming. 

With my still somewhat limited Zope knowledge, I would say it sounds 
like you should have a look at utilities.

regards,
Achim


More information about the Zope3-users mailing list