[Zope-dev] Re: [ZODB-Dev] Replacing bobobase_modification_time

kapil thangavelu k_vertigo@yahoo.com
Tue, 8 Jan 2002 02:51:45 -0800


On Tuesday 08 January 2002 06:47 am, Chris McDonough wrote:
> > I think that a much better approach, if modification time is important
> > to your application, is to store the application modification time in the
> > object as a data attribute.
>
> It might be better to cause common Zope objects to do what Casey proposes
> (maybe via SimpleItem) as opposed to making folks keep app modtimes for
> those and as opposed to changing the semantics of
> bobobase_modification_time.  In Zope2, this would be achieved via a mixin
> named something like Modifiable mixed in to DTML Document, File, etc.

this sounds like a much better approach to me. the only question i have then, 
is how to hook modification times (as opposed to storage timestamps) without 
messing with Transaction.py?

cheers

kapil