Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Just another Perl shrine
 
PerlMonks  

Re: templates vs here docs

by pfaut (Priest)
on Dec 19, 2007 at 23:37 UTC ( #658010=note: print w/ replies, xml ) Need Help??


in reply to templates vs here docs

One big advantage you get using a templating system is separating the code from the HTML. This allows a programmer to work on the code and a web designer to work on the HTML. If you're working alone this isn't as big of an advantage but I've found it helps me concentrate better on one when I'm not staring at the other. It's a lot easier to understand both the code and the HTML when they're compact and flowing instead of intermixed.

90% of every Perl application is already written.
dragonchild


Comment on Re: templates vs here docs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-04-17 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls