Re: [Zope3-dev] event before delete
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:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] event before delete
On Sep 26, 2005, at 2:13 PM, Fred Drake wrote: On 9/26/05, Florent Guillaume <[EMAIL PROTECTED]> wrote: 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 ? I think it does. Again, http://www.zope.org/Wikis/DevSite/Projects/ ComponentArchitecture/ActionPlans . Certainly, simply implementing a new event has a certain appeal to it, in comparison. ;-) The proposal is a bit old; I think it still has merit, but it maybe should be discussed again to see if any lessons learned since shed light on it. Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] event before delete
On 9/26/05, Florent Guillaume <[EMAIL PROTECTED]> wrote: > 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 ? I think it does. -Fred -- Fred L. Drake, Jr. Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com