[Zope3-dev] manage_beforeDelete

Jim Fulton jim@zope.com
Sun, 23 Feb 2003 07:32:13 -0500


Jim Fulton wrote:
> Florent Guillaume wrote:
> 
>> Steve wrote:
>>
>>>> * I noticed 'manage_beforeDelete still exists in Zope 3 code.  Why 
>>>> does the 'manage_' concept still exist?
>>>
>>>
>>> The name is there, but there is nothing magical about the 'manage_' 
>>> prefix. It could equally well be called "beforeDeleteHook".
>>
>>
>>
>> I'd really like to change that name, it brings back bad memories
> 
> 
> Gee, I picked it because I have goo dmemeories of Zope 2. :)
> 
>  > and is not clear.
> 
>>
>> I propose one of:
>>   - notify_beforeDelete (which I prefer)
>>   - hook_beforeDelete
>>
>> (same thing for _afterAdd)
>>
>> Any opinions?
>>
>> Florent
> 
> 
> Florent, please feel free to change this (and manage_afterAdd) to whatever
> you feel is appropriate.

If you don't have time for this, then a collector entry will do.

Jim


-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org