in reply to Re: HTML In CGI Scripts.
in thread HTML In CGI Scripts.

To your list I'd add:

  3.5.   Print using's HTML generation

Each method (well, except for #1. Yech.) has it's place, and they all work, but I think you've definitely captured the evolutionary aspect of this topic. :-)

Gary Blackburn
Trained Killer

Replies are listed 'Best First'.
Re: Re: Re: HTML In CGI Scripts.
by Cody Pendant (Prior) on Jul 10, 2003 at 18:47 UTC
    You're right of course. I realised that later.

    But looked at another way, it's almost on its own list. It doesn't mix HTML and Perl at all. You get purity at the expense of no longer being able to see your HTML as HTML.

    Mind you, somewhere recently, Merlyn posted (boasted) about his script which reversed the process and turned HTML into data structures.

    Can anyone come up with that link? It's certainly an intriguing Third Way of approaching workflow -- get your designers to come up with HTML, slurp it into, then throw it away? Given valid code it's not unreasonable... Hmmm...

    “Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
    M-J D