Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-15 Thread Stephan Richter
On Friday 14 December 2007, Christophe Combelles wrote: > Actually, wouldn't it be nice (and logical) to transmit the root folder > along with the event? +1 Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development

Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-14 Thread Benji York
Christophe Combelles wrote: Actually, wouldn't it be nice (and logical) to transmit the root folder along with the event? +1 -- Benji York Senior Software Engineer Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailm

Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-14 Thread Christophe Combelles
Fred Drake a écrit : On Dec 14, 2007 3:48 PM, Marius Gedminas <[EMAIL PROTECTED]> wrote: Or maybe reuse getInformationFromEvent from zope.app.appsetup.bootstrap, although it smells like an internal function. It does, but you wouldn't be the first to use it outside it's module. :-) Actually,

Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-14 Thread Fred Drake
On Dec 14, 2007 3:48 PM, Marius Gedminas <[EMAIL PROTECTED]> wrote: > Or maybe reuse getInformationFromEvent from > zope.app.appsetup.bootstrap, although it smells like an internal > function. It does, but you wouldn't be the first to use it outside it's module. :-) -Fred -- Fred L. Drake,

Re: [Zope-dev] new FAQ entry: please review before I add it

2007-12-14 Thread Marius Gedminas
On Fri, Dec 14, 2007 at 07:29:59PM +0100, Christophe Combelles wrote: > how do I automatically create some needed object at application startup? > > Do it by subscribing to IDatabaseOpenedWithRootEvent (from > zope.app.appsetup) > > Example code: > > @adapter(IDatabaseOpenedWithRootEvent) > def Cr