Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: When to use templates?

by rrwo (Friar)
on Nov 20, 2004 at 12:52 UTC ( [id://409253]=note: print w/replies, xml ) Need Help??


in reply to When to use templates?

Templates allow you to separate your code from the content (web page, E-mail, form-letter, report, etc.). You can submit the template to a non-programmer to work on, or even give the non-programmer access rights to modify the template.

It also allows for code re-use. Rather than having multiple scripts that generate similar output (such as the results of an SQL query), you have one script with several templates. This makes maintenance so much easier!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2025-01-23 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (67 votes). Check out past polls.