Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

(jeffa) Re: TT2 -- A Matter of Style

by jeffa (Bishop)
on Jun 13, 2002 at 18:09 UTC ( [id://174289]=note: print w/replies, xml ) Need Help??


in reply to TT2 -- A Matter of Style

Actually, there is at least one good reason to use CGI.pm within TT2 or HTML::Template - generating form elements. That's the only reason i have found. :)

Check out the discussion at Re: TMPL_LOOP within a TMPL_LOOP for more.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: (jeffa) Re: TT2 -- A Matter of Style
by vroom (His Eminence) on Jun 13, 2002 at 20:55 UTC
    Yes. I generally generate all HTML with the exception of my form elements in the templates.

    Generating form elements based on dynamic information from a database is much more straight-forward using CGI methods. Also the stickiness of form fields using CGI is often very handy when a user hasn't filled out all necessary fields or wants to modify their search criterion in a small way.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-23 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found