Sorry John, i didn't click on 'reply-to-all' so you did'nt received Paul's reply. Find it below. I added you last message too.
-------- Message d'origine -------- Objet: Re: [Zope] Non-persistent ZClasses? Date: Tue, 21 Jan 2003 16:55:42 -0800 De: Paul Winkler <pw_lists@slinkp.com> A: zope@zope.org Références: <3E2DC47E.3010008@sbc.edu> <3E2DCF11.7040203@wanadoo.fr>
On Tue, Jan 21, 2003 at 06:52:01PM -0400, D2 wrote:
Zope brings persistence to Python and Zclasses are Zope classes so
they are always persistent. That's a newbie point of view.
And it's wrong. :) Classes in zope are only persistent if they inherit from Globals.Persistent directly or indirectly.
As for ZClasses, I don't know anything about working with them. --
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's FAKER SLUDGE! (courtesy of isometric.spaceninja.com)
John Coleman wrote Great...if I can't create a non-persistent ZClass, how would I create one of these so-called "non-persistent wrapper classes?" Would this be a pluggable brain, or an external method? Thanks John -- John Coleman jcoleman@sbc.edu -- Rev 13:16-17, translated for the information age: http://www.passport.com -- ---------- In the ZopeBook - Extending Zope http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition You'll find a way to avoid to Include standard Zope persistent object base classes. This option is available when you add a Zclass where it can be unchecked. ... "Include standard Zope persistent object base classes? This option should be checked unless you don't want your object to be saved in the database. This is an advanced option and should only be used for Pluggable Brains. For this example, leave this box checked. ".... Andre Newbie wanting to upgrade to newbie+ in the next 50 years :)