[Zope-dev] RE: [Zope] How do I make an external object persistent?
Michel Pelletier
michel@digicool.com
Tue, 23 Nov 1999 13:31:42 -0500
Moved to zope-dev
> -----Original Message-----
> From: Andres Corrada [mailto:andres@corrada.com]
> Sent: Tuesday, November 23, 1999 11:56 AM
> To: zope@zope.org
> Subject: [Zope] How do I make an external object persistent?
>
>
> Hi,
> I'm new to Zope. I have classes that I want to use in
> Zope without
> making them Products. How can I inject the Zope namespace
> with an object
> so it remains persistent? For example, a Form object that renders and
> validates a form.
For an object to exist persistently in zope, its class must subclass
Persistence.Persistent.
You can, however, utilize other classes in external methods. Note that
the *instances* of these classes will not persist across external method
calls.
-Michel