-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florent Guillaume wrote:
> I'd like to do a few simple fixes to events in Zope 3.2 before it's too
> late:
> 
> - Add the source to IObjectCopiedEvent, per
> http://www.zope.org/Collectors/Zope3-dev/478
> I believe I received a +1 on this
> 
> - Make OrderedContainer.updateOrder send an IObjectModifiedEvent. Today
> when you change the order no event at all is fired, this is wrong.
> 
> - Finally I'd like to make all containers send a specific subclass
> instead of just an IObjectModifiedEvent (I propose naming it
> IContainerModifiedEvent), because it makes it possible to isolate change
> to an object that only affect the 'containment' aspect of it.
> Subscribers can then have specific optimizations, for instance a catalog
> would want to isolate this because it only affects containment
> boundaries and not the "content" of tThe object. (This is a concrete use
> case BTW, in CPS's event model we have this distinction and it's useful.)
> 
> This shouldn't affect existing subscribers at all, because they'd be
> subscribing to IObjectModifiedEvent and this would still match.
> 

These changes above are only changes full of sense. so +1 of course.

        J.

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDhbkaGhoG8MxZ/pIRAoFSAJ46SGkFYPitgV8fWxa7Ir5ETsekSQCdFmer
B6TUOIJbTMGD2vvbGiTfxlM=
=ml4S
-----END PGP SIGNATURE-----
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to