[AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Gabriel Ricard
I was perusing the AOLServer 4 source code over the weekend and I saw a note in nsd/adpparse.c which said that aolserver no longer supported custom ADP parsers. I can't recall the name of the package, but there was a custom ADP parser that someone pointed me to that behaved a bit differently than t

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Jim Davidson
In a message dated 1/20/2003 12:39:46 PM Eastern Standard Time, [EMAIL PROTECTED] writes: I was perusing the AOLServer 4 source code over the weekend and I saw a note in nsd/adpparse.c which said that aolserver no longer supported custom ADP parsers. I can't recall the name of the package, but the

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Patrick Spence
  - Original Message - From: Jim Davidson To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 11:10 AM Subject: Re: [AOLSERVER] adp parsers and aolserver 4.0 differently than the normal ADP parser in that it supported thefollowing coding style:... more htm

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread David Walker
I like the option as well. I ocassionally have to translate .asp to .adp and that would make it simpler. It also makes if'ing large blocks of adp possible which I find handy. Also, in my case having a partial display is less desirable than a 500 error for many of my pages. On Monday 20 January

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Nathan Folkman
In a message dated 1/20/03 1:59:16 PM, [EMAIL PROTECTED] writes: I like the option as well.  I ocassionally have to translate .asp to .adp and that would make it simpler. It also makes if'ing large blocks of adp possible which I find handy. Also, in my case having a partial display is less des

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Peter M. Jansson
On Mon, 20 Jan 2003, Patrick Spence wrote: > I would love to have it as an option, since my foray into PHP under > aolserver I have found that to be a very nice extension.. > that way I don't have to craft large chunks of html, convert all the > quotes to backslash quotes and then ns_puts it all o

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Rob Mayoff
+-- On Jan 20, Jim Davidson said: > No, it doesn't. Each "chunk" of ADP must be a valid Tcl script as they're > all executed independently. A parser which could handle the above would > basically convert the whole page into a single script. Downside with that > solution is an error anywh

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Jim Davidson
In a message dated 1/20/2003 2:18:31 PM Eastern Standard Time, [EMAIL PROTECTED] writes: >No, it doesn't.  Each "chunk" of ADP must be a valid Tcl script as they're >all executed independently.  A parser which could handle the above would >basically convert the whole page into a single script.  Do

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread David Walker
Also, for large handling large blocks of html from tcl you might try set myvar "Some Value" ns_write [subst { This is a page that has $myvar in it - Original Message - > From: Jim Davidson > To: [EMAIL PROTECTED] > Sent: Monday, January 20, 2003 11:10 AM > Subject: Re: [AOLSER

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Patrick Spence
- Original Message - From: "Peter M. Jansson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 12:08 PM Subject: Re: [AOLSERVER] adp parsers and aolserver 4.0 > On Mon, 20 Jan 2003, Patrick Spence wrote: > > > I would love to have it as an option, since my foray

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Gabriel Ricard
On Monday, January 20, 2003, at 03:13 PM, Patrick Spence wrote: What I am doing in PHP is dynamic database backed processing as well as forms, table modifications on the fly, etc.. part of the dynamic processing declares an iterative loop that walks over a database table, and the html for each d

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Patrick Spence
- Original Message - From: "Gabriel Ricard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 2:13 PM Subject: Re: [AOLSERVER] adp parsers and aolserver 4.0 > > What I am doing in PHP is dynamic database backed processing as well as > > forms, table modifications

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread C. R. Oldham
> Once Daniel S. was able to figure out why PHP would crash > randomly, its been solid as a rock... Do I take this to mean that PHP has become a lot more stable under AOLserver lately? -- C. R. Oldham Director of Technology NCA CASI

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Peter M. Jansson
Grrr. I'm doing exactly those kinds of things. Here's an example: In adp_recall.tcl: ns_register_adptag "dnr_remember" "/dnr_remember" dnr_adp_remember proc dnr_adp_remember {input tagset} { global _dnr_adp_memory set tagname [ns_set iget $tagset name] if {[string length

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Patrick Spence
- Original Message - From: "C. R. Oldham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 2:26 PM Subject: Re: [AOLSERVER] adp parsers and aolserver 4.0 > > Once Daniel S. was able to figure out why PHP would crash > > randomly, its been solid as a rock... > > D

Re: [AOLSERVER] adp parsers and aolserver 4.0

2003-01-20 Thread Patrick Spence
- Original Message - From: "Peter M. Jansson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 2:52 PM Subject: Re: [AOLSERVER] adp parsers and aolserver 4.0 > Grrr. I'm doing exactly those kinds of things. Here's an example: > > In adp_recall.tcl: > > ns_regis