good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi all,
I am adventuring in the world of perl and web based applications, and I stumbled upon a very important matter regarding which way HTML (or your output of choice) is to be printed: via inline PRINT (something with vars... ENDHTML is surely better) or via TEMPLATE reading, parsing and outputting? ENDHTML example
TEMPLATE SPAGHETTI example
I've come to the conclusion ENDHTML printing is more CODE-WISE and maybe more practical to develop, but its surely not open to flexibility. On the other hand, the convenience of template parsing means lots of code for managing errors and exceptions... Which are your personal ideas on the most PRACTICAL way to proceed? Thanks in advance In reply to OUTPUT: inline or template_based? by CodeHound
|
|