Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: HTML In CGI Scripts.

by Trimbach (Curate)
on Jul 10, 2003 at 14:37 UTC ( [id://272986]=note: print w/replies, xml ) Need Help??


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

To your list I'd add:

  3.5.   Print using CGI.pm'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 22: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 CGI.pm 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 CGI.pm, 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272986]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-24 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found