dTemplate

dTemplate is a flexible template system. It can generate HTML or newsletters, etc., and is similar to the CGI::FastTemplate system in that it separates the code from the design.

You can define only one kind of template variable (placeholder), but you can assign anything you want to it, even an unnamed subroutine, which can parse other templates. You can define a template parse tree this way. Advanced features include printf formatting of template variables (for statistic generation), transparent handling of multiple styles of a template (for multi-language sites or skinned web-pages), and encoders (uri_encoder and html_encoder). You can write template-parsing routines in the same way the templates are structured logically: starting from the biggest and going to the smallest.

Last updated 23 Sep, 2009


User level: Submit a level

User Rating:

Homepage

License(s) :

Perl

Rate it!

 

About

Leadership
Related Projects

PHP-Mesh, Templeet

Versions

2.4.1

2.4.1 stable released 2005-01-29

User Community and Support

General Resources
Support Resources

Development

Developer Resources
Bug Tracking Resources
 

Please send comments on these web pages to bug-directory@fsf.org, send other questions to info@fsf.org.

Copyright © 2000 - 2009 Free Software Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA

The copyright licensing notice below applies to this text. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.