[Zope3-dev] manage_beforeDelete

Jim Fulton jim@zope.com
Fri, 21 Feb 2003 14:46:40 -0500


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.

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