RE: [Webware-devel] Accessing the app server instance from anywhere

2002-12-17 Thread Stuart Donaldson
Esterbrook [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 16, 2002 4:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [Webware-devel] Accessing the app server instance from > anywhere > > > On Monday 16 December 2002 04:38 pm, Stuart Donaldson wrote: > > Couldn't this

Re: [Webware-devel] Accessing the app server instance from anywhere

2002-12-16 Thread Chuck Esterbrook
On Monday 16 December 2002 04:38 pm, Stuart Donaldson wrote: > Couldn't this be done by AppServer.__init__()? > > Then require that all AppServer's must initialize the base class > AppServer which they likely do anyway. Er, good point. :-) I need more sugar... > Is there any reason to have mul

Re: [Webware-devel] Accessing the app server instance from anywhere

2002-12-16 Thread Ian Bicking
On Monday, December 16, 2002, at 06:38 PM, Stuart Donaldson wrote: Couldn't this be done by AppServer.__init__()? Then require that all AppServer's must initialize the base class AppServer which they likely do anyway. Is there any reason to have multiple AppServer's running? Would it make sens

Re: [Webware-devel] Accessing the app server instance from anywhere

2002-12-16 Thread Stuart Donaldson
Couldn't this be done by AppServer.__init__()? Then require that all AppServer's must initialize the base class AppServer which they likely do anyway. Is there any reason to have multiple AppServer's running? Would it make sense that WebKit.globalServer be a function that returns the server?

[Webware-devel] Accessing the app server instance from anywhere

2002-12-16 Thread Chuck Esterbrook
In WebKit applications, as far as I can tell, there is no way to arbitrarily access the single instance of the app server (or the application). I don't often need this, but once in awhile it would come in handy. My plan is to require that all app servers set AppServer.globalServer for this pur