Re: [Zope3-Users] Application instantiation without ZMI

2007-06-23 Thread John Maddison
On 6/23/07, Stephan Richter <[EMAIL PROTECTED]> wrote: Yeah, people at ZC prefer using generations. Others (including me), on the other hand, have developed z3c.configurator and z3c.sampledata, which can setup entire applications for you. I can sort of see how to use generations, but z3c.config

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-22 Thread Stephan Richter
On Wednesday 20 June 2007 10:43, Hermann Himmelbauer wrote: > How did you do that? I managed it the following way: > > -- snip --- > from zope.app.appsetup.interfaces import IDatabaseOpenedWithRootEvent > from zope.app.appsetup.bootstrap import getInformationFromEvent > > @a

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-20 Thread Hermann Himmelbauer
Am Montag, 18. Juni 2007 13:36 schrieb Brian Sutherland: > On Mon, Jun 18, 2007 at 07:57:10PM +1000, John Maddison wrote: > > Hi all, > > > > I've just started playing around with using z3c.layer to create > > applications that don't use the ZMI at all. Everything is pretty > > simple so far, exce

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-19 Thread Dominik Huber
John Maddison wrote: I've just started playing around with using z3c.layer to create applications that don't use the ZMI at all. Everything is pretty simple so far, except for one fairly important step: creating my initial application object in the ZODB. What methods do people use to create the

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-18 Thread Brian Sutherland
On Mon, Jun 18, 2007 at 07:57:10PM +1000, John Maddison wrote: > Hi all, > > I've just started playing around with using z3c.layer to create > applications that don't use the ZMI at all. Everything is pretty > simple so far, except for one fairly important step: creating my > initial application o

[Zope3-Users] Application instantiation without ZMI

2007-06-18 Thread John Maddison
Hi all, I've just started playing around with using z3c.layer to create applications that don't use the ZMI at all. Everything is pretty simple so far, except for one fairly important step: creating my initial application object in the ZODB. What methods do people use to create their applicatio