[Zope3-dev] Zope3 LifeCycle Events

Ulrich Eck ueck@net-labs.de
Tue, 10 Dec 2002 13:59:51 +0100


I'm really fine with having Events for Startup/Shutdown
only.

probably i just wanted to make it more advanced than needed.
YAGNI on RefreshEvent :)

Ulrich Eck

--On Montag, 9. Dezember 2002 17:04 -0800 kapil thangavelu <kvthan@wm.edu> 
wrote:

> 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
>



Ulrich Eck
------------------------------------------------------------------------
net-labs Systemhaus GmbH
Ebersberger Str. 46
85570 Markt Schwaben
fon:   +49-8121-4747-11
fax:   +49-8121-4747-77
email: ueck@net-labs.de
http://www.net-labs.de