Re: [Webware-devel] WebKit at WWW

2001-05-30 Thread Ian Bicking
Geoff Talvola <[EMAIL PROTECTED]> wrote: [...] > Except that on Windows you'll probably need to use CreateProcess instead of > system. That right there argues for its inclusion in a library. Okay, that's a good argument. A C-based Webware Adapter Compatibility Layer! Hehe. Anyway, I can imag

[Webware-devel] cvs update

2001-05-30 Thread Geoff Talvola
Fixed the error handling in mod_webkit. Now you'll actually get an error page from Apache if the app server fails to respond after it has exhausted its retries. -- - Geoff Talvola [EMAIL PROTECTED] ___ Webware-devel mailing list [EMAIL PROTECTE

[Webware-devel] Fwd: [Zope-Annce] Zope Survey results posted

2001-05-30 Thread Chuck Esterbrook
FYI >MBOX-Line: From [EMAIL PROTECTED] Wed May 30 19:00:18 2001 >X-Yahoo-Forwarded: from [EMAIL PROTECTED] to [EMAIL PROTECTED] >X-Track: -10 >From: Gary Graham <[EMAIL PROTECTED]> >To: Zope Questions <[EMAIL PROTECTED]> >cc: <[EMAIL PROTECTED]> >Organization: Digital Creations >X-Mailer: GoldMin

Re: [Webware-devel] async

2001-05-30 Thread Ian Bicking
Tavis Rudd <[EMAIL PROTECTED]> wrote: > On Wednesday 30 May 2001 11:50, Ian Bicking wrote: > > OTOH, something like FastCGI could perhaps be implemented > > directly in the AppServer, which would probably speed it > > up considerably. > > hmmm, interesting thought. So you'd use mod_fastcgi to co

Re: [Webware-devel] async

2001-05-30 Thread Tavis Rudd
On Wednesday 30 May 2001 11:50, Ian Bicking wrote: > OTOH, something like FastCGI could perhaps be implemented > directly in the AppServer, which would probably speed it > up considerably. hmmm, interesting thought. So you'd use mod_fastcgi to connect to the AppServer? I don't think it would be

Re: [Webware-devel] async

2001-05-30 Thread Geoff Talvola
At 01:50 PM 5/30/01 -0500, Ian Bicking wrote: >Geoff Talvola <[EMAIL PROTECTED]> wrote: > > Yes, there already is an HTTPServerAdapter -- it's called Apache + > > mod_webkit :-) > > > > I think of HTTPServer as something you would use if you wanted to embed an > > HTTP server into another applicat

Re: [Webware-devel] # in Templates

2001-05-30 Thread Tavis Rudd
On Wednesday 30 May 2001 07:50, Tom Schwaller wrote: > Are filters already working? > #filter filterName(filterArgs) > .. > #/filter filterName(filterArgs) You can do static once-off filtering with custom macros, but I haven't gotten around to implementing a run-time #filter directive yet. > I

[Webware-devel] cvs update

2001-05-30 Thread Geoff Talvola
I implemented a "smarter" retry algorithm in mod_webkit.c similar to the one I checked into Adapter.py -- so now you can restart the appserver without losing requests. Compiled and tested only on Windows. Someone like Jay (hint, hint) may want to code review my change, as I'm not 100% confid

Re: [Webware-devel] async

2001-05-30 Thread Ian Bicking
Geoff Talvola <[EMAIL PROTECTED]> wrote: > Yes, there already is an HTTPServerAdapter -- it's called Apache + > mod_webkit :-) > > I think of HTTPServer as something you would use if you wanted to embed an > HTTP server into another application to provide a web-based interface to > that applic

Re: [Webware-devel] # in Templates

2001-05-30 Thread Tom Schwaller
Tavis Rudd wrote: > > I was mainly thinking of cases where the template > > includes program listing fragments. In that case, > > distinguishing comment #s from macro/command #s can be > > more difficult. > > In that case you could use > #verbatim > a Python code example: > if 1: #a comment >

Re: [Webware-devel] # in Templates

2001-05-30 Thread Ian Bicking
Tavis Rudd <[EMAIL PROTECTED]> wrote: > I have no qualms about using the parser > for that stuff (... I wish I had the time). However, I still think > it's not worth the effort for the directives and I actually > prefer /# to ; for a closure. It's more visible. I might reconsider > at a future

Re: [Webware-devel] async

2001-05-30 Thread Geoff Talvola
At 12:53 AM 5/30/01 -0500, Ian Bicking wrote: >On the HTTPServer thread... wouldn't it be easiest to make a >HTTPServerAdapter? Or would this imply a speed hit for the socket >connection that was the point of using the embedded HTTP server in the >first place? Yes, there already is an HTTPServer

Re: [Webware-devel] # in Templates

2001-05-30 Thread Tavis Rudd
On Wednesday 30 May 2001 06:41, Chuck Esterbrook wrote: > (starting to chant) > Parse! Parse! Parse! Parse! Parse! Parse! > :-) > > Actually, I'm curious: What are the other syndromes? I > forget. The only one that I can remember was the $placeholder(arg=$placeholder(arg2=1234)) nesting. What

[Webware-devel] RE: WebKit, htmlForDict, WebSkin

2001-05-30 Thread paul
Chuck Esterbrook wrote: > >At 02:50 PM 5/29/2001 +0200, Ruggier, Mario wrote: > >>In the case of HTML/XML, such faithfullness is a significant >>advantage as this would keep open the option to manipulate >>templates (HTML/XML + extra template mark-up) with any tool in >>the ever-growing world of X

Re: [Webware-devel] # in Templates

2001-05-30 Thread Chuck Esterbrook
(starting to chant) Parse! Parse! Parse! Parse! Parse! Parse! :-) Actually, I'm curious: What are the other syndromes? I forget. At 02:00 AM 5/30/2001 -0500, Ian Bicking wrote: >Just bite the bullet already and use the parser! It won't be 1.0 >until you use a parser, no matter what, becaus

[Webware-devel] cvs update

2001-05-30 Thread Geoff Talvola
I checked in my improvements to Adapter.py's retry code -- now you can restart the app server under heavy load and not lose any requests. This improvement only works on Windows because it's looking for a Winsock-specific errno. Someone with an interest in this who has a Unix box should look

Re: [Webware-devel] WebKit at WWW

2001-05-30 Thread Geoff Talvola
At 08:11 PM 5/29/01 -0500, Ian Bicking wrote: > > - restart app > >I think this should just be a call to system() anyway, though I >suppose you could wrap that in a function for later change. But I >don't think that's necessary -- you only need one level of >abstraction. Except that on