[Zope] Re: How can I make class variables store in the zodb??

2005-04-26 Thread Raphael Ritz
Stephen How wrote: [...] Originally, I wanted to use a lot of class variables, as this was my perspective from plain-old python. However, I've learned that I really want to put everything possible into the schema, as it makes the AT future proof, and more robust. It automatically creates

Re: [Zope] Re: How can I make class variables store in the zodb??

2005-04-26 Thread Hoang-Vu PHUNG
Try the command svnadmin dump/load. Regards --- Raphael Ritz [EMAIL PROTECTED] wrote: Stephen How wrote: [...] Originally, I wanted to use a lot of class variables, as this was my perspective from plain-old python. However, I've learned that I really want to put everything possible

[Zope] Re: How can I make class variables store in the zodb??

2005-04-26 Thread Stephen How
I don't understand all the issues, but from an AT-user's point of view, it'd be very nice to have a fully supported dictionary and array field. I'm very interested in using the ATExtentions, but am wary of exposing myself to code that may not be future-proof. Practically speaking, is the risk

[Zope] Re: How can I make class variables store in the zodb??

2005-04-26 Thread Martin Aspeli
Hi, The problem I have with 'MoreFieldsAndWidgets' is that it is a collection of individual products, not just one product that acts like a library. For the better or worse: I imported ATExtensions just a few minutes ago into plone.org/svn/archetypes Of course I am aware that we have an even

[Zope] Re: How can I make class variables store in the zodb??

2005-04-25 Thread Stephen How
Peter, I had the same question as you did, about getting my AT class variables stored in the ZODB. The answer is pretty simple: almost all your class variables are automatically persistent in the ZODB, as the AT base class (e.g., BaseContent or BaseFolder) inherits from a persistent base