[Zope] Volatile Properties in ZClasses?
Pavlos Christoforou
pavlos@gaaros.msrc.sunysb.edu
Tue, 2 Nov 1999 12:22:42 -0500 (EST)
On Tue, 2 Nov 1999, Tom Schwaller wrote:
> Hi,
>
> Take a look at the BannerAd ZClass:
> (http://www.zope.org/Members/lalo/BannerFolder)
>
> Updating the "hits"-property when the banner
> is loaded, has the effect, that the
> Banner-Object is backuped by the Zope magic,
> which is quite annyoing when having a high-traffic
> site. So, how can one generate volatile properties,
> which do not get backuped (I tried it whith _hits,
At this point my suggestion would be to store them in an external file.
I hope soon there would be a solution in terms of incorporating different
ZODB stores into ZODB that do not keep version info.
If someone has a better (and easy) alternative, I would like to know about
it too.
Pavlos