[roch-pm] Techniques for templates

Bob Walton bwalton at rochester.rr.com
Wed Oct 25 19:38:37 CDT 2000


Brian, I have used all three methods, but I find I generally prefer #1,
since then I can use a WYSIWYG HTML editor on it.  I deal with
low-volume sites, so performance is not an issue.
-- 
Bob Walton

Brian Mathis wrote:
> 
> I assume there are a lot of CGI programmers out here, and I was wondering
> how people handle printing out customized pages back to the browser.  I can
> think of a few different techniques on how this could be done:
>         1. Store the html in a file, and search & replace on tokens in that file
>         2. actully embed the html code in the perl script itself, then print it
> all out with $vars automatically updated
>         3. use CGI.pm to handle printing the html tags for you
> 
> I personally use #1, but I was wondering what other people use.
> 
> --
> Brian Mathis
> Direct Edge
> http://www.directedge.com
> --
> For information on unsubscribing from this list, please visit
> http://rochester.pm.org
--
For information on unsubscribing from this list, please visit
http://rochester.pm.org



More information about the Rochester-pm mailing list