Hello all,

Recently, I ripped out most of the inline HTML from within a large app I've been working for some time and converted the mix of CGI.pm method's, inline HTML, and the ilk into HTML::Template templates, in the hopes that it would foster greater collaboration with people who may not know Perl, or want to deal with the sloppy coding I put forth.

Long story short, it's been very incredibly helpful in meeting this goal - so, go go HTML::Template!

With collaboration, one of my developers is making sure all the templates are XHTML compatible and is running into an issue of not always knowing which template outputting what code (original post: http://mojo.skazat.com/cgi-bin/dada/mail.cgi/archive/dadadev/ 20050730124002/ ) -

Does anyone have any best practices in labeling the code that each template creates? For example, he proposed that we simply use HTML comments and wrap the template itself around them. For example:

<!-- start [template_name].tmpl -->

and

<!-- end [template_name].tmpl -->

What do you guys do?

Cheers,

Justin Simoni
--
:: is an eccentric artist, living and working in Denver, Colorado
:: URL: http://justinsimoni.com
:: PHO: 720.436.7701
:: Mailing List - http://justinsimoni.com/mailing_list.html




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to