Text::FastTemplate is yet another template module written in Perl. So why use this module instead of one of the other template modules? Well...it's ultra simple. It's fast. It's lean. It completely separates the presentation from the application logic.
Be the first to post a text review of Text::FastTemplate. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Text::FastTemplate v0.95 includes several enhancements to help the programmers to manage the numerous templates used by applications. The number of templates used by an application can increase quickly. Sometimes the same application serves data to different audiences, e.g. a web server that serves more than one URL. Poor organization can reduce programmer's and designer's job to chaotic tail-chasing. Enhancements to the API make it easier for the programmer to manage templates by streamlining default groups and template preloading. + templates can be organized into groups. + defaults() accepts defaults for more than one group now. + preload() will now accept a common set of parameters for several templates and groups. + modified templates can be reloaded on-line automatically. Other changes include + a bug-fix for a bug that stripped too much white-space. + removed preload()'s requirement for an ARRAY-REF to be passed. + removed dependencyon Data::Dumper. It was only used for debugging; it should have been removed previously. Comprehensive documentation and examples will be on-line at the Text::FastTemplate home page. Look for it at http://bozzio.the-lehrs.com/Text::FastTemplate/
<UL> <LI> defaults(): changed to accept defaults for multpile groups passed in hash-refs. <LI> preload(): changed to deprecate usage of array-ref to pass list. <LI> preload(): changed to accept common defaults as hash kv pairs outside of the file lists that are passed as hash-refs. <LI> removed 'use Data::Dumper' which was mistakenly kept. it was only used for debugging. <LI> _scrub_template(): fixed nasty bug in a regex that flattened the source text by not trapping lines that contained keywords. <LI> improved FastTemplate.spec file to build noarch RPM. </UL>
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?