Jim Fulton wrote at 2005-5-30 08:42 -0400:
> ...
>I suggest we generalize this a bit.  I suggest that the ObjectModified
>event could accept one or more modification descriptions (hints?).
>Some examples:
>   ObjectModifiedEvent(obj, IObjectFile)
>This says that we modified the objects file data.  Note that
>an interface is an acceptable description.  In fact, we
>might allow pretty muich anything as a description.
>   ObjectModifiedEvent(obj, IObjectFile,
>                       Attributes(IZopeDublinCore, 'title', 'description'),
>                       )
>This says we modified the file data and the DC title and description.
>This information would be a hint that subscribers could use, or not use
>as appropriate.
>We could change the form machinery in an obvious way to generate
>attribute descriptions.
>Dieter,  I'm pretty sure that this would provide enough information
>for you to do the kind of optimizations you want to do.

Sounds good!

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to