[Zope3-dev] Zope3 LifeCycle Events

kapil thangavelu kvthan@wm.edu
Mon, 9 Dec 2002 17:04:08 -0800


On Monday 09 December 2002 08:57 pm, Casey Duncan wrote:
> [snip]
>
> >   * ZopeRefreshEvent: Is publish when the modules should be reloaded
> >     This could help to implement some equivalent to Refresh in Z2
>
> I would rather focus on making the full restart as fast as possible.
> Refresh seems like a good idea until you waste a few hours tracking down
> "bugs" that are side effects of refresh not quite working correctly.
> Unfortunately I think the flaws in refresh are more limitations in Python's
> import machinery then anything.
>
> TTW modules may alleviate these problems, I don't know (hands wave in
> air...)
>
> -1 on refresh for me.

-1 on refresh as well, refresh in z2 caused lots of problems when dealing with 
global vars, which z3 is chock full of (ie all of ca)... seems highly 
problematic to me at this point, without what amounts to a shutdown and start 
sequence.

+1 on server startup and finish events.

-kapil