Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by jeffa (Bishop)
on Jun 13, 2002 at 18:09 UTC ( #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 (Pope) 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
Node Status?
node history
Node Type: note [id://174289]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2019-05-21 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (132 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!