in reply to Re^2: Reusable template components with HTML::Template
in thread Reusable template components with HTML::Template

I have to say, although I have had success with HTML::Template and continue to use it, I totally disagree with your criticisms of Template Toolkit. I have used it with groups of HTML coders who have no programming experience beyond basic cut-and-paste JavaScript. They had absolutely no problems understanding it. In fact, they soon started asking me to show them some of the fancier features that I had left out, thinking they would be overwhelmed.

I hear this criticism frequently and I think it comes from people who have never tried using TT with designers. The TT syntax is nearly identical to HTML::Template for all common constructs, and the ability to pass parameters to a template makes the kind of reuse being discussed here a whole lot easier.

  • Comment on Re^3: Reusable template components with HTML::Template