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 |
In reply to Re: templates vs here docs
by pfaut
in thread templates vs here docs
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |