[Web-SIG] ConfigParser for configuration

2007-03-09 Thread Chris Withers
Fred Drake wrote: > On 3/8/07, Chris Withers <[EMAIL PROTECTED]> wrote: >> I'm glad ZConfig exists. > > Me too, though it does many things differently than if I'd had free reign. You have free reign now, right? ;-) >> How does it handle nesting? > > It doesn't, but an application can use explic

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Chris Withers
Rodrigo Senra wrote: > [ Chris Withers ]: > - multiple Zope instances sharing libraries, python modules, >and Zope/Plone Products. These files might be placed out of >the instance tree. Sometimes you want this, sometimes you don't ;-) You want it if you have lots of homogeneous projects

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Chris Withers
Benji York wrote: > with lots of software on them (some we write, some third party). Their > perspective is that if they want to find a log file it's better for it > to be where all the log files are instead of trying to find the corner > of the file system where that particular app is installe

Re: [Web-SIG] more comments on Paste Deploy

2007-03-09 Thread Jim Fulton
On Mar 7, 2007, at 10:36 PM, Chad Whitacre wrote: > James, > > Thanks for weighing in. > >>> I'd love to get some input who know a lot about what makes >>> deploying PHP apps so easy. >> >> In a past life I had a fair amount of experience working with >> and deploying PHP, so I'll throw in my $0.

Re: [Web-SIG] windows, pywebd, webctl

2007-03-09 Thread Jim Fulton
On Mar 7, 2007, at 11:55 PM, Chad Whitacre wrote: > All, > > Windows > === > > Sidnei, et al.: your points are well-taken and your expertise > appreciated. Thanks! > > > pywebd > == > > Bob: I'm on board with your vision for a common server library > here. Count me in. > > > webctl/filesy

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Jim Fulton
On Mar 8, 2007, at 4:36 AM, Chris Withers wrote: > Jim Fulton wrote: >> Having everything in one folder is great for development. It >> isn't so good for deployment, at least not on Unix. > > Can you explain why? Yes. See my response to Chad. > I do a lot of unix deployment, and the thought

Re: [Web-SIG] more comments on Paste Deploy

2007-03-09 Thread Jim Fulton
On Mar 8, 2007, at 4:55 AM, Chris Withers wrote: > Jim Fulton wrote: >> On Mar 5, 2007, at 4:38 PM, Phillip J. Eby wrote: >> ... >>> Personally, I don't care for the Paste Deploy syntax -- frankly >>> it's almost barbaric. :) >> I don't mean to pick on you, but I really *hate* comments like t

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Sidnei da Silva
On 3/9/07, Jim Fulton <[EMAIL PROTECTED]> wrote: > On Mar 8, 2007, at 4:36 AM, Chris Withers wrote: > > I'm interested to hear these too since all the microsoft apps I > > know of tend to have a "one folder" model... > > Yeah, that's why I don't use Windows. :) That's not a good enough excuse. :)

Re: [Web-SIG] ConfigParser for configuration

2007-03-09 Thread Fred Drake
On 3/9/07, Chris Withers <[EMAIL PROTECTED]> wrote: > You have free reign now, right? ;-) Heh. Compatibility is worth something, even to me. > You mean like the format expected by logging.config.fileConfig? I haven't looked at that in a long time, but I think that's right. Essentially, each use

[Web-SIG] ConfigParser

2007-03-09 Thread Ian Bicking
Since there's lots of talk of ConfigParser, I thought I'd note some code I've written that uses the basic API of ConfigParser but allows for some simple additions; in INITools (http://pythonpaste.org/initools/) specifically initools.configparser: http://pythonpaste.org/initools/initools/confi

Re: [Web-SIG] windows, pywebd, webctl

2007-03-09 Thread Chad Whitacre
Jim, First, your comments re: paying attention to sysadmins are well-taken. Thanks. > I don't have a problem with people using whatever layout they > want. I don't even object to having common layouts that are > documented and taught. What I can't accept is a software > framework that *requ

Re: [Web-SIG] [Proposal] "website" and first-level conf

2007-03-09 Thread Jim Fulton
On Mar 9, 2007, at 9:26 AM, Sidnei da Silva wrote: > On 3/9/07, Jim Fulton <[EMAIL PROTECTED]> wrote: >> On Mar 8, 2007, at 4:36 AM, Chris Withers wrote: ... >> For years, people word >> files ended up in the same directory with the word applications. > > I think that predates my involvement wi

Re: [Web-SIG] windows, pywebd, webctl

2007-03-09 Thread Jeff Bauer
Chad Whitacre wrote: >2. If no config file is named on the command line, then look > for one in certain locations: > > /etc/.conf > /usr/local/etc/.conf > ~/etc/.conf > ./etc/.conf And possibly the current working directory: ./.conf -- Jeff Bauer Rubico