Hello all,
 I have just started experimenting with TT2, and like it so much that I'm
already planning to convert several in-house projects over to TT2. What's
great with the complete separation of code and presentation and that I can
delegate page design to a non-programmer.

What would be really nice is a way to automatically generate a visual tree
representing the data structure that is available in the template, allowing
the designer to see at a glance what they can insert into the template.

I envision:
 1. A graphical representation of the data structure (perhaps
    GraphViz::Data::Grapher or something similar). The output
    of Data::Dumper is not friendly enough.
 2. A method to automatically intercept a data structure from
    perl before it is sent to the template, so that it can be
    visualized as above. It would be best if this did not
    require changing the script or the template.

Maybe the above can be accomplished with a special template, using certain
TT2 plugins. That would be way cool. I'm not yet familiar enough with TT2 to
know for sure if this is possible.

Has anyone done something like this before?


-- 
Mark Thomas                    [EMAIL PROTECTED]
Internet Systems Architect     User Technology Associates, Inc.


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to