Text::ScriptTemplate 0.08
Sponsored Links
Text::ScriptTemplate 0.08 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
866
Date added:
2007-06-14
Publisher:
Taisuke Yamada
Text::ScriptTemplate 0.08 description
Text::ScriptTemplate is a standalone ASP/JSP/PHP-style template processor.
SYNOPSIS
use Text::ScriptTemplate;
$text = <<EOF; # PHP/JSP/ASP-style template
< % for (1..3) { % > # - any Perl expression is supported
Message is: < %= $TEXT % >. # - also supports variable expansion
< % } % >
EOF
$tmpl = new Text::ScriptTemplate; # create processor object
$tmpl->setq(TEXT => "hello, world"); # export data to template
# load, fill, and print expanded result in single action
print $tmpl->pack($text)->fill;
This is a successor of Text::SimpleTemplate, a module for template- based text generation.
Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.
The idea of this module is simple. Whenever a block of text surrounded by (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be handled specially by template processing engine. With this module, Perl script and text can be intermixed closely.
Major goal of this library is to provide support of powerful PHP-style template with smaller resource. This is useful when PHP, Java/JSP, or Apache::ASP is overkill, but their template style is still desired.
SYNOPSIS
use Text::ScriptTemplate;
$text = <<EOF; # PHP/JSP/ASP-style template
< % for (1..3) { % > # - any Perl expression is supported
Message is: < %= $TEXT % >. # - also supports variable expansion
< % } % >
EOF
$tmpl = new Text::ScriptTemplate; # create processor object
$tmpl->setq(TEXT => "hello, world"); # export data to template
# load, fill, and print expanded result in single action
print $tmpl->pack($text)->fill;
This is a successor of Text::SimpleTemplate, a module for template- based text generation.
Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.
The idea of this module is simple. Whenever a block of text surrounded by (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be handled specially by template processing engine. With this module, Perl script and text can be intermixed closely.
Major goal of this library is to provide support of powerful PHP-style template with smaller resource. This is useful when PHP, Java/JSP, or Apache::ASP is overkill, but their template style is still desired.
Text::ScriptTemplate 0.08 Screenshot
Text::ScriptTemplate 0.08 Keywords
ScriptTemplate
PHP
JSP
ASP
ScriptTemplate 0.08
Template processor
template
text
processor
standalone
0.08
Text::ScriptTemplate
TextScriptTemplate
Text::ScriptTemplate 0.08
Libraries
Programming
Bookmark Text::ScriptTemplate 0.08
Text::ScriptTemplate 0.08 Copyright
WareSeeker periodically updates pricing and software information of Text::ScriptTemplate 0.08 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::ScriptTemplate 0.08 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
template gallery
resume templates
templates microsoft
templates
script template
templates wilson jones
templates dreamweaver
resume template
php template processor
templates for resumes
microsoft templates
template monster
template resume
website templates
project templates
templates for business cards
text messages
templates photoshop
Related Software
Text::Replace is a Perl module to replace variables from a hash. Free Download
Text::Scraper contains structured data from (un)structured text. Free Download
HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates. Free Download
Text::Template::Inline allows easy formatting of hierarchical data. Free Download
Text::Templar is a document-generation object class. Free Download
PerlPoint::Template::TT2 is a beta of a PerlPoint template processor for Template Toolkit 2 layouts. Free Download
Text::Yats is Yet Another Template System. Free Download
TemplAT is a general-purpose text-file template engine, designed to be used as an API from Java applications or servlets. Free Download
Latest Software
Popular Software
Favourite Software