Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: OUTPUT: inline or template_based?

by simon.proctor (Vicar)
on May 28, 2002 at 11:35 UTC ( [id://169740]=note: print w/replies, xml ) Need Help??


in reply to OUTPUT: inline or template_based?

If you don't use templates then half way through your project you'll wish you had. I've seen quite a few horror stories in the shops I've worked at and have seen them all dissapear one I managed to advocate HTML::Template to my manager.

As mentioned in a node above, separation of display, logic (and data) will make your coding life much easier. You imply that using templates introduces some form of spaghetti into your code, frankly (IMHO) nothing could be further from the truth. Just try HTML::Template or the Template Toolkit in a project and you'll see for yourself.

Replies are listed 'Best First'.
Re: Re: OUTPUT: inline or template_based?
by CodeHound (Beadle) on May 28, 2002 at 13:07 UTC
    I think I didn't make myself clear.
    I did not want to write that TEMPLATING makes for spaghetti code.

    Mine was a SPAGHETTI example of what I meant for templating :)

    Thanks for the reply anyhow.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found