I have some questions for users of Templating... we currently, (in another language) have a set of standard functions for things like printing data tables, so in our HTML page outlines, we just insert a call to
printDataTable( table => $table, user => $user, data => $data, layout => layout ); parameters: * $table => optional ref to hash containing table title, any unusual table properties etc. * $user => ref to hash of user preferences * $data => ref to array of hash * $layout => ref to array of field names This standard routine combines these details and produces an HTML table containing the data. The use of standard routines ensures consistency throughout the entire site. Our printDataTable() function references site specific configuration data so that all the tables within a website are consistent, but that different sites can have their own skins applied. How is something like this best accomplished with the templating tools like TT? I guess I am asking how the template world achieves intra/extra site reuse and ensures consistency? Tia Jeff