Re: [Twisted-Python] Handling application initialization synchronously

2011-06-20 Thread Itamar Turner-Trauring
On Mon, 2011-06-20 at 16:00 +0900, David wrote: > Hi, > > I was wondering what's the recommended way to initialize a "complex" > twisted application. Typically, let's say I have an application which > needs to create a couple of "heavy" objects, each of which may create > mysql db/tables:

[Twisted-Python] Handling application initialization synchronously

2011-06-20 Thread David
Hi, I was wondering what's the recommended way to initialize a "complex" twisted application. Typically, let's say I have an application which needs to create a couple of "heavy" objects, each of which may create mysql db/tables: class MyApplication(object): def __init__(self):