[Zope3-dev] event before delete

Jim Fulton jim at zope.com
Mon Sep 26 15:34:03 EDT 2005


Florent Guillaume wrote:
> More generally, there's a difference in philosophy between Zope 2 and
> Zope 3 here:
> 
> - Zope 2 calls manage_beforeDelete *before* the removal,
> - Zope 3 sends IObjectRemovedEvent *after* the removal.
> 
> This will make some porting / compatibility more difficult. I may add an
> IObjectWillBeRemovedEvent in Five for that, but maybe it makes sense to
> have it in pure Zope 3 ?

See if it's useful and let us know.  :)

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


More information about the Zope3-dev mailing list