|
On Tue, 10 Apr 2001 11:14:55 -0500, Alex Harvey wrote: >Yes I'd like to know about a different parser to do this. I've been using >ns_puts and ns_adp_include to get around this problem. > >Writing code like this is more difficult to maintain as I see it. Alex, I used to use Jeff's alternative parser. It can be patched to work with 3.1 and later. The patch involves replacing a reference to a *Ns_ModLogHandle with one to a generic pointer. You should know that I stopped using the am.net parser for a couple of reasons. First, I got increasingly worried that changes to AOLserver would eventually break the parser badly enough that I'd have to rewrite it. Second and most importantly, I found that the ability to intermingle HTML and Tcl actually encouraged a style of development that made maintenance exceedingly difficult. It made the maintenance problem worse. It's far better to use a templating system and a library of function call that generate repetitive HTML blocks to separate code and presentation than use intermingled HTML and Tcl. ..Edmund. |
- [AOLSERVER] conditional code in an ADP Alex Harvey
- Re: [AOLSERVER] conditional code in an ADP Rob Mayoff
- Re: [AOLSERVER] conditional code in an ADP Michael A. Cleverly
- Re: [AOLSERVER] conditional code in an ADP Alex Harvey
- Re: [AOLSERVER] conditional code in an ADP Edmund Lian
- Re: [AOLSERVER] conditional code in an ADP ricard helene
- Re: [AOLSERVER] conditional code in an ADP Patrick Kelly
- Re: [AOLSERVER] conditional code in an ADP Dossy
