[Zope3-dev] Contained events interface inheritance order
Roger Ineichen
dev at projekt01.ch
Wed Nov 30 07:50:33 EST 2005
Hi Jim and Florent
[...]
>
> I suggest:
>
> - Rename IObjectMovedEvent to IObjectLocationEvent. The old name
> would be retained as an alias and deprecated.
Please use a verb like IObjectLocatedEvent instead of
IObjectLocationEvent.
> - Create a new event, IObjectRelocatedEvent that extends
> IObjectLocationEvent and is generated whan an object is moved,
> but not added or removed. Possibly, down the road,
> "relocated" could be
> renamed to "moved".
>
> In your first use case, you'd register the subscriber for
> both added
> and relocated. In your second, for just relocated. You
> could so something
> similar for your before events.
>
> - If necessary, intermediate event types could be defined to avoid
> the duplicate registrations.
>
> Of course, this would be for the June release. It will also
> cause spurious
> test failures. We really need to have better ways to make
> assertions about
> event histories.
Regards
Roger Ineichen
> Jim
>
> --
> Jim Fulton mailto:jim at zope.com Python Powered!
> CTO (540) 361-1714 http://www.python.org
> Zope Corporation http://www.zope.com http://www.zope.org
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list