[Webware-devel] Re: class-based config syntax

2001-12-10 Thread Tavis Rudd
Here's a shitty alternative that highlights the best points of your class-based suggestion: ## def S(**kw): return kw AppServer = S( Applictions = S( MyApp = S( Dirs = S(Products = '/home/tavis/Webware/Products' Services = '/home/tavis/Webware/Ser

Re: [Webware-devel] Re: class-based config syntax

2001-12-10 Thread Tavis Rudd
On Monday 10 December 2001 13:42, Geoffrey Talvola wrote: > In your own example above, importing the config file actually > _creates_ two instance of application classes. This could have > side effects that you don't expect to get just by loading a config > file. It might cause lines to be writt

[Webware-devel] Re: class-based config syntax

2001-12-10 Thread Tavis Rudd
On Monday 10 December 2001 13:42, Geoffrey Talvola wrote: > Why not just put the "magic" part into a separate source file? I > don't see how putting this kind of stuff directly into the config > file gains any real power. The end result would be the same either way, but I prefer doing it direct

[Webware-devel] Re: class-based config syntax

2001-12-10 Thread Geoffrey Talvola
At 02:39 PM 12/10/01 -0800, Tavis Rudd wrote: >On Monday 10 December 2001 13:11, Geoffrey Talvola wrote: > > At 01:59 PM 12/10/01 -0800, Tavis Rudd wrote: > > >Geoff, > > >going back to your class-based config syntax... > > > > > >The reason we'd need to subclass SettingsContainer is that it is >

[Webware-devel] Re: class-based config syntax

2001-12-10 Thread Tavis Rudd
On Monday 10 December 2001 13:11, Geoffrey Talvola wrote: > At 01:59 PM 12/10/01 -0800, Tavis Rudd wrote: > >Geoff, > >going back to your class-based config syntax... > > > >The reason we'd need to subclass SettingsContainer is that it is > >possible to have settings that are in fact classes and d

[Webware-devel] Re: class-based config syntax

2001-12-10 Thread Geoffrey Talvola
At 01:59 PM 12/10/01 -0800, Tavis Rudd wrote: >Geoff, >going back to your class-based config syntax... > >The reason we'd need to subclass SettingsContainer is that it is >possible to have settings that are in fact classes and don't begin >with an underscore: > >## >from SettingsManager import Set

[Webware-devel] class-based config syntax

2001-12-10 Thread Tavis Rudd
Geoff, going back to your class-based config syntax... The reason we'd need to subclass SettingsContainer is that it is possible to have settings that are in fact classes and don't begin with an underscore: ## from SettingsManager import SettingsContainer as SC class Applications(SC): clas

Re: [Webware-devel] 0.6.1 part 2

2001-12-10 Thread Geoffrey Talvola
At 10:24 AM 12/10/01 -0800, Chuck Esterbrook wrote: >On Monday 10 December 2001 06:14 am, Geoffrey Talvola wrote: > > File also has some tricky concurrency issues, mentioned in the > > comments to SessionFileStore.__setitem__(). If two servlets > > simultaneously modify the session, one change wi

Re: [Webware-devel] 0.6.1 part 2

2001-12-10 Thread Chuck Esterbrook
On Monday 10 December 2001 06:14 am, Geoffrey Talvola wrote: > File also has some tricky concurrency issues, mentioned in the > comments to SessionFileStore.__setitem__().  If two servlets > simultaneously modify the session, one change wins and the other > change is lost.  Whereas Memory works pe

Re: [Webware-devel] 0.6.1 part 2

2001-12-10 Thread Geoffrey Talvola
At 07:21 PM 12/9/01 -0800, Chuck Esterbrook wrote: >Woops. In case, you were wondering, here are the rel notes: > >- 0.6.1 changes > All bug fixes: > - WebKit > - "File" is the new default session store, since > "Dynamic" has >concurrency issues. File also has som

[Webware-devel] PXDB v 0.1 XML-relational mapper (?)

2001-12-10 Thread Paul T
  The PXDB announce is at the end of the letter.   PXDB is many ways similar to MiddleKit ...   My long-term idea was to get some kind of a language-neutral (through XML-RPC) 'XML' repository.    I like WebWare a lot, so I think that PXDB would always be based on Webware and I also think