Re: [Webware-devel] Automatic restarting of AppServer?

2002-12-16 Thread Ian Bicking
On Monday, December 16, 2002, at 07:49 PM, Lee Phillips wrote: Do you think it would be possible to modify WebKit.cgi so that it detects if the AppServer is not running and, if not, restarts it? Will there be permission problems - will the AppServer started by a cgi not have enough permissions?

Re: [Webware-devel] ZODB (Zope object database) on Mac Jaguar

2002-12-16 Thread Chuck Esterbrook
I use (and wrote much of) Webware's own MiddleKit. So my data lives in a traditional SQL database which gives me lots of speed, powerful queries, 3rd party tools, etc., but as a Python programmer everything is OO. Much of MiddleKit is inspired by Apple's Enterprise Object Framework (EOF) so de

[Webware-devel] ZODB (Zope object database) on Mac Jaguar

2002-12-16 Thread Lee Phillips
I'm interested in using the ZODB with Webware. I develop on Macs running OSX 10.2.x (Jaguar). I compiled a couple of stable versions of the ZODB on a Mac running OS X 10.2.1 with the python 2.2 included by Apple. They (Standalone 1.0 and ZODB3-3.1) compiled with numerous warnings, and running the t

[Webware-devel] Automatic restarting of AppServer?

2002-12-16 Thread Lee Phillips
Do you think it would be possible to modify WebKit.cgi so that it detects if the AppServer is not running and, if not, restarts it? Will there be permission problems - will the AppServer started by a cgi not have enough permissions? --- This s

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?

Re: [Webware-devel] New vs Old naming

2002-12-16 Thread Ian Bicking
On Friday, December 13, 2002, at 08:26 PM, Stuart Donaldson wrote: I have noticed a couple of places where New and Old are used to identify improved and out-dated methodologies. NewThreadedAppServer, serverSideInfoForRequestNew and filenamesForBaseNameNew Yes, those are all me. Probably bad n

Re: [Webware-devel] New vs Old naming

2002-12-16 Thread Chuck Esterbrook
That sounds reasonable to me. The challenge will to make sure we follow through when cutting releases. -Chuck On Friday 13 December 2002 06:26 pm, Stuart Donaldson wrote: > I have noticed a couple of places where New and Old are used to > identify improved and out-dated methodologies. > > NewThr

[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