<?xml version="1.0" encoding="windows-1252"?>
<node id="658010" title="Re: templates vs here docs" created="2007-12-19 18:37:54" updated="2007-12-19 13:37:54">
<type id="11">
note</type>
<author id="217641">
pfaut</author>
<data>
<field name="doctext">
&lt;p&gt;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.&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-217641"&gt;
&lt;center&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;font size="-1"&gt;90% of every Perl application is already written. [id://246498|&amp;#8658;]&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;&lt;font size="-1"&gt;&lt;i&gt;[dragonchild]&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
657977</field>
<field name="parent_node">
657977</field>
</data>
</node>
