[Zope] ZODB question: get older object versions without undo

Philipp Auersperg zope@philosoft.at
Tue, 10 Oct 2000 13:57:23 +0200


--=====_97117904341=_
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

I have two questons concerning ZODB:

1. Since ZODB does not overwrite objects on change one can get the older=
 versions when undoing the changes.
    My question now: how can I access older versions of objects without=
 undoing transactions? (I had a short glance at the ZODB classes, but found=
 nothing)

2.Is it possible ( or will be ) to define ZODB objects for which updates=
 are done by overwriting and not appending to the object database

 - That is an important issue for objects that are subject to frequent and=
 simple changes. For example Webcounters or Advertising banners that count=
 the clicks. Solutions to write these changes into external files (like=
 FSCounter) are not more than emergency solutions for me.

thanks
phil


--=====_97117904341=_
Content-Type: text/html; charset="us-ascii"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff style="FONT-FAMILY: Arial; FONT-SIZE: x-small" 
text=#000000>
<DIV>I have two questons concerning ZODB:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Since ZODB does not overwrite objects on change one can get the older 
versions when undoing the changes.</DIV>
<DIV>&nbsp;&nbsp;&nbsp; My question now: how can I access older versions of 
objects without undoing transactions? (I had a short glance at the ZODB classes, 
but found nothing)</DIV>
<DIV>&nbsp;</DIV>
<DIV>2.Is it possible ( or will be ) to define ZODB objects for which updates 
are done by overwriting and not appending to the&nbsp;object database</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;- That is an important issue for objects that are subject to frequent 
and simple changes. For example Webcounters or Advertising banners that count 
the clicks. Solutions to write these changes into external files (like 
FSCounter) are not more than emergency solutions for me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>phil</DIV></BODY></HTML>


--=====_97117904341=_--