template system
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 8070
Template::Ast 0.02
Template::Ast is a Perl module to process ASTs for Perl Template Toolkit. more>>
Template::Ast is a Perl module to process ASTs for Perl Template Toolkit.
SYNOPSIS
use Template::Ast;
# Rebuild AST stored in file:
$ast = Template::Ast->read(foo.ast) or
die Template::Ast->error();
# Writing existing AST to file:
$ast = { Marry => [24, F], John => [21, M] };
Template::Ast->write($ast, foo.ast) or
die Template::Ast->error();
$ast = Template::Ast->merge([1,2,3], undef); # [1,2,3]
$ast = Template::Ast->merge(undef, [1,2,3]); # [1,2,3]
$ast = Template::Ast->merge(undef, undef); # undef
$ast = Template::Ast->merge({A=>1,B=>2}, [C]); # [C]
$ast = Template::Ast->merge([1,2,3], [5,6]); # [5,6]
$ast = Template::Ast->merge([{A=>1},2], 5); # 5
$ast = Template::Ast->merge({A=>1,B=>2}, {C=>3}); # {A=>1,B=>2,C=>3}
$ast = Template::Ast->merge({A=>1,B=>2}, {B=>3}); # {A=>1,B=>3}
# {A=>1,B=>2}
$ast = Template::Ast->merge({A=>1,B=>undef}, {A=>undef,B=>2});
Template::Ast->merge(
{A=>1,B=>{C=>1,D=>2}},
{B=>{C=>1,D=>3,E=>4}}
); # {A=>1,B=>{C=>1,D=>3,E=>4}}
Template::Ast->merge(
{A=>1,B=>{C=>[1,2]}},
{B=>{C=>[3,4]}}
); # {A=>1,B=>{C=>[3,4]}}
print Template::Ast->dump([$vars], [vars]);
ASTs are essential in the programming model based on Perl Template Toolkit. This module provides some easy interface to do the dirty work involved in AST handling. The term AST used here are referred to any Perl referece pointed to a complex data structure, such as a nested hash, a nested array, or such.
<<lessSYNOPSIS
use Template::Ast;
# Rebuild AST stored in file:
$ast = Template::Ast->read(foo.ast) or
die Template::Ast->error();
# Writing existing AST to file:
$ast = { Marry => [24, F], John => [21, M] };
Template::Ast->write($ast, foo.ast) or
die Template::Ast->error();
$ast = Template::Ast->merge([1,2,3], undef); # [1,2,3]
$ast = Template::Ast->merge(undef, [1,2,3]); # [1,2,3]
$ast = Template::Ast->merge(undef, undef); # undef
$ast = Template::Ast->merge({A=>1,B=>2}, [C]); # [C]
$ast = Template::Ast->merge([1,2,3], [5,6]); # [5,6]
$ast = Template::Ast->merge([{A=>1},2], 5); # 5
$ast = Template::Ast->merge({A=>1,B=>2}, {C=>3}); # {A=>1,B=>2,C=>3}
$ast = Template::Ast->merge({A=>1,B=>2}, {B=>3}); # {A=>1,B=>3}
# {A=>1,B=>2}
$ast = Template::Ast->merge({A=>1,B=>undef}, {A=>undef,B=>2});
Template::Ast->merge(
{A=>1,B=>{C=>1,D=>2}},
{B=>{C=>1,D=>3,E=>4}}
); # {A=>1,B=>{C=>1,D=>3,E=>4}}
Template::Ast->merge(
{A=>1,B=>{C=>[1,2]}},
{B=>{C=>[3,4]}}
); # {A=>1,B=>{C=>[3,4]}}
print Template::Ast->dump([$vars], [vars]);
ASTs are essential in the programming model based on Perl Template Toolkit. This module provides some easy interface to do the dirty work involved in AST handling. The term AST used here are referred to any Perl referece pointed to a complex data structure, such as a nested hash, a nested array, or such.
Download (0.020MB)
Added: 2007-06-29 License: Perl Artistic License Price:
847 downloads
Bee Template 0.3
Bee Template is a Web template system parses HTML files into PHP objects. more>> <<less
Download (0.004MB)
Added: 2005-06-27 License: GPL (GNU General Public License) Price:
1582 downloads
HTML::Template 2.9
HTML::Template module attempts to make using HTML templates simple and natural. more>>
HTML::Template module attempts to make using HTML templates simple and natural.
HTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes.
A file written with HTML and these new tags is called a template. Using this module you fill in the values for the variables and loops declared in the template.
This allows you to seperate design (the HTML) from the data, which you generate in the Perl script. While there are many other HTML template systems available, this module is simple and fast.
It doesnt try to reinvent Perl CGI, it just augments HTML with a few new and very useful abilities.
Enhancements:
- A new option was added to enforce Taint mode for unescaped variables.
- Several long-standing bugs were fixed.
- The enhanced tests produced by the Phalanx project are now part of the module.
<<lessHTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes.
A file written with HTML and these new tags is called a template. Using this module you fill in the values for the variables and loops declared in the template.
This allows you to seperate design (the HTML) from the data, which you generate in the Perl script. While there are many other HTML template systems available, this module is simple and fast.
It doesnt try to reinvent Perl CGI, it just augments HTML with a few new and very useful abilities.
Enhancements:
- A new option was added to enforce Taint mode for unescaped variables.
- Several long-standing bugs were fixed.
- The enhanced tests produced by the Phalanx project are now part of the module.
Download (0.061MB)
Added: 2007-01-31 License: GPL (GNU General Public License) Price:
998 downloads
All System Info
All System Info is a system info SuperKaramba theme. more>>
All System Info is a system info SuperKaramba theme. Simple english version...
It shows:
- System Info
- CPU usage
- Network Usage
- Memory Load
- HDD usage
<<lessIt shows:
- System Info
- CPU usage
- Network Usage
- Memory Load
- HDD usage
Download (0.19MB)
Added: 2006-07-05 License: GPL (GNU General Public License) Price:
1210 downloads
HCKit::Template 0.02
HCKit::Template is a Perl module with a template system for HTML construction. more>>
HCKit::Template is a Perl module with a template system for HTML construction.
This module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the template file itself, or in the Perl script. Data sources can be XML files, or dynamically constructed in the Perl script.
<<lessThis module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the template file itself, or in the Perl script. Data sources can be XML files, or dynamically constructed in the Perl script.
Download (0.011MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 downloads
SmartTemplate 1.2.1
SmartTemplate is a Template Engine that was designed to support large scale, web based applications. more>>
SmartTemplate is a Template Engine that was designed to support large scale, web based applications.
Whats so special about it?
Common template engines work like the following: Your PHP script specifies an HTML template and assigns some dynamic content to display. The template parser replaces all placeholders within the template with the assigned content and displays it to the user. This means a lot of string processing and regular expression work each time you want to display some content.
SmartTemplate works like a template compiler that converts templates into executable PHP code and stores it for later reuse. The first time a new template is processed, all placeholders in the template are replaced by small PHP code elements that print the assigned content. The HTML template fragment < H3 >{TITLE}< /H3 >, for example, is converted into something like < H3 >< ?php echo $TITLE; ? >< /H3 >. If you have assigned your content to the right variables, there is no need for any template parsing anymore. The only thing that has to be done is to include and execute the compiled template. This usually increases the execution time of the template engine dramatically.
SmartTemplate supports:
- Simple Scalar Substitution (Strings, etc.)
- Block Iterations (nested Arrays / BEGIN..END)
- Basic Control Structures (IF..ELSEIF..ELSE)
- Custom Extension (Output filters, uppercase, sprintf, etc.)
- Template Compilation (HTML templates are converted to executable PHP Code)
- SubTemplate System (HTML templates can be included on other templates)
- Output Caching (Accelerates your applications by reusing page output)
<<lessWhats so special about it?
Common template engines work like the following: Your PHP script specifies an HTML template and assigns some dynamic content to display. The template parser replaces all placeholders within the template with the assigned content and displays it to the user. This means a lot of string processing and regular expression work each time you want to display some content.
SmartTemplate works like a template compiler that converts templates into executable PHP code and stores it for later reuse. The first time a new template is processed, all placeholders in the template are replaced by small PHP code elements that print the assigned content. The HTML template fragment < H3 >{TITLE}< /H3 >, for example, is converted into something like < H3 >< ?php echo $TITLE; ? >< /H3 >. If you have assigned your content to the right variables, there is no need for any template parsing anymore. The only thing that has to be done is to include and execute the compiled template. This usually increases the execution time of the template engine dramatically.
SmartTemplate supports:
- Simple Scalar Substitution (Strings, etc.)
- Block Iterations (nested Arrays / BEGIN..END)
- Basic Control Structures (IF..ELSEIF..ELSE)
- Custom Extension (Output filters, uppercase, sprintf, etc.)
- Template Compilation (HTML templates are converted to executable PHP Code)
- SubTemplate System (HTML templates can be included on other templates)
- Output Caching (Accelerates your applications by reusing page output)
Download (0.008MB)
Added: 2006-07-04 License: GPL (GNU General Public License) Price:
1216 downloads
Template::Magic 1.39
Template::Magic is a Perl module for magic merger of runtime values with templates. more>>
Template::Magic is a Perl module for magic merger of runtime values with templates.
SYNOPSIS
Just add these 2 magic lines to your code...
use Template::Magic;
Template::Magic->new->print( /path/to/template );
to have all your variable and subroutines merged with the template file, or set one or more constructor array to customize the output generation as you need:
use Template::Magic qw( -compile );
$tm = new Template::Magic
paths => [ qw(/any/path /any/other/path) ] ,
markers => [ qw( < / > ) ] ,
lookups => [ %my_hash, $my_obj, main ] ,
zone_handlers => [ &my_zone_handler, _EVAL_ ] ,
value_handlers => [ DEFAULT, &my_value_handler ] ,
text_handlers => sub {print lc $_[1]} ,
output_handlers => sub {print uc $_[1]} ,
post_handlers => &my_post_handler ,
options => no_cache ;
$tm->nprint( template => /path/to/template
lookups => %my_special_hash );
<<lessSYNOPSIS
Just add these 2 magic lines to your code...
use Template::Magic;
Template::Magic->new->print( /path/to/template );
to have all your variable and subroutines merged with the template file, or set one or more constructor array to customize the output generation as you need:
use Template::Magic qw( -compile );
$tm = new Template::Magic
paths => [ qw(/any/path /any/other/path) ] ,
markers => [ qw( < / > ) ] ,
lookups => [ %my_hash, $my_obj, main ] ,
zone_handlers => [ &my_zone_handler, _EVAL_ ] ,
value_handlers => [ DEFAULT, &my_value_handler ] ,
text_handlers => sub {print lc $_[1]} ,
output_handlers => sub {print uc $_[1]} ,
post_handlers => &my_post_handler ,
options => no_cache ;
$tm->nprint( template => /path/to/template
lookups => %my_special_hash );
Download (0.045MB)
Added: 2007-07-11 License: Perl Artistic License Price:
839 downloads
Template::Alloy::TT 1.005
Template::Alloy::TT Perl module contains a Template::Toolkit role. more>>
Template::Alloy::TT Perl module contains a Template::Toolkit role.
The Template::Alloy::TT role provides the syntax and the interface for Template::Toolkit version 1, 2, and 3. It also brings many of the features from the various templating systems.
And it is fast.
See the Template::Alloy documentation for configuration and other parameters.
<<lessThe Template::Alloy::TT role provides the syntax and the interface for Template::Toolkit version 1, 2, and 3. It also brings many of the features from the various templating systems.
And it is fast.
See the Template::Alloy documentation for configuration and other parameters.
Download (0.14MB)
Added: 2007-07-04 License: Perl Artistic License Price:
842 downloads
gdWebSuite System 0.6.6.6
gdWebSuite System is a script that is designed to be a full featured system for user registration, login on a Web site. more>>
gdWebSuite System is a script that is designed to be a full featured system for user registration, login, and administration on a Web site.
It also supports account activation and retrieving lost passwords. gdWebSuite System supports visual templates and different styles for each template.
Enhancements:
- New administration features for uploading avatars, a new avatar selection, and one new admin style were added.
- A private message system was started.
- Some changes and updates were made to various parts of the code.
<<lessIt also supports account activation and retrieving lost passwords. gdWebSuite System supports visual templates and different styles for each template.
Enhancements:
- New administration features for uploading avatars, a new avatar selection, and one new admin style were added.
- A private message system was started.
- Some changes and updates were made to various parts of the code.
Download (0.30MB)
Added: 2005-12-05 License: Freeware Price:
1420 downloads
Template::Recall 0.05
Template::Recall is a Reverse callback templating system. more>>
Template::Recall is a "Reverse callback" templating system.
SYNOPSIS
use Template::Recall;
my $tr = Template::Recall->new( template_path => /path/to/template/sections );
my @prods = (
soda,sugary goodness,$.99,
energy drink,jittery goodness,$1.99,
green tea,wholesome goodness,$1.59
);
$tr->render(header);
# Load template into memory
$tr->preload(prodrow);
for (@prods)
{
my %h;
my @a = split(/,/, $_);
$h{product} = $a[0];
$h{description} = $a[1];
$h{price} = $a[2];
print $tr->render(prodrow, %h);
}
# Remove template from memory
$tr->unload(prodrows);
print $tr->render(footer);
Template::Recall works using what I call a "reverse callback" approach. A "callback" templating system (i.e. Mason, Apache::ASP) generally includes template markup and code in the same file. The template "calls" out to the code where needed. Template::Recall works in reverse. Rather than inserting code inside the template, the template remains separate, but broken into sections. The sections are called from within the code at the appropriate times.
<<lessSYNOPSIS
use Template::Recall;
my $tr = Template::Recall->new( template_path => /path/to/template/sections );
my @prods = (
soda,sugary goodness,$.99,
energy drink,jittery goodness,$1.99,
green tea,wholesome goodness,$1.59
);
$tr->render(header);
# Load template into memory
$tr->preload(prodrow);
for (@prods)
{
my %h;
my @a = split(/,/, $_);
$h{product} = $a[0];
$h{description} = $a[1];
$h{price} = $a[2];
print $tr->render(prodrow, %h);
}
# Remove template from memory
$tr->unload(prodrows);
print $tr->render(footer);
Template::Recall works using what I call a "reverse callback" approach. A "callback" templating system (i.e. Mason, Apache::ASP) generally includes template markup and code in the same file. The template "calls" out to the code where needed. Template::Recall works in reverse. Rather than inserting code inside the template, the template remains separate, but broken into sections. The sections are called from within the code at the appropriate times.
Download (0.005MB)
Added: 2007-04-07 License: Perl Artistic License Price:
931 downloads
HTML::Template::Set 1.009
HTML::Template::Set is a HTML::Template extension that adds set support. more>>
HTML::Template::Set is a HTML::Template extension that adds set support.
SYNOPSIS
in your HTML:
< TMPL_SET NAME="handler" >apples_to_oranges< /TMPL_SET >
< TMPL_SET NAME="title" >Apples Are Green< /TMPL_SET >
< HTML >
< HEAD >
< TITLE >< TMPL_VAR NAME="title" >< /TITLE >
< /HEAD >
< BODY >
< H1 >< TMPL_VAR NAME="title" >< /H1 >
< HR >
< BR >
< B >You authenticated as: < /B > < TMPL_VAR NAME="ENV_REMOTE_USER" >< BR >< BR >
< TMPL_IF NAME="oranges" >You prefer oranges< /TMPL_IF >
< /BODY >
< /HTML >
in your script:
use HTML::Template::Set;
my $tmpl = new HTML::Template::Set(
filename => foo.tmpl,
associate_env => 1
);
my $handler = $tmpl->param(handler);
if ($handler and $handler eq apples_to_oranges) {
$tmpl->param(oranges => 1);
}
print $tmpl->output();
<<lessSYNOPSIS
in your HTML:
< TMPL_SET NAME="handler" >apples_to_oranges< /TMPL_SET >
< TMPL_SET NAME="title" >Apples Are Green< /TMPL_SET >
< HTML >
< HEAD >
< TITLE >< TMPL_VAR NAME="title" >< /TITLE >
< /HEAD >
< BODY >
< H1 >< TMPL_VAR NAME="title" >< /H1 >
< HR >
< BR >
< B >You authenticated as: < /B > < TMPL_VAR NAME="ENV_REMOTE_USER" >< BR >< BR >
< TMPL_IF NAME="oranges" >You prefer oranges< /TMPL_IF >
< /BODY >
< /HTML >
in your script:
use HTML::Template::Set;
my $tmpl = new HTML::Template::Set(
filename => foo.tmpl,
associate_env => 1
);
my $handler = $tmpl->param(handler);
if ($handler and $handler eq apples_to_oranges) {
$tmpl->param(oranges => 1);
}
print $tmpl->output();
Download (0.009MB)
Added: 2007-08-16 License: Perl Artistic License Price:
799 downloads
MAT Template Library 0.1.7
MAT is a C++ mathematical template class library. more>>
MAT Template Library is a C++ mathematical template class library. The library contains classes and routines for working with:
matrices
vectors
finding roots of polynomials
solving equations
and more...
<<lessmatrices
vectors
finding roots of polynomials
solving equations
and more...
Download (0.068MB)
Added: 2006-09-28 License: MIT/X Consortium License Price:
1122 downloads
MfGames.Template 1.1.0
The MfGames.Template library is a C# native library for creating template libaries. more>>
The MfGames.Template library is a C# native library for creating template libaries.
MfGames.Template was inspired by NVelocity, but was designed from the ground up to use the CIL internals, such as System.CodeDom and internal compliation to handle the template language.
Because of this, it supports C# code as the template "language". In addition, compiled templates are actually compiled down into bytecode, using the built-in compiler.
<<lessMfGames.Template was inspired by NVelocity, but was designed from the ground up to use the CIL internals, such as System.CodeDom and internal compliation to handle the template language.
Because of this, it supports C# code as the template "language". In addition, compiled templates are actually compiled down into bytecode, using the built-in compiler.
Download (0.017MB)
Added: 2006-04-07 License: LGPL (GNU Lesser General Public License) Price:
1295 downloads
Template::Plugins 2.19
Template::Plugins is a Perl module with plugin provider module. more>>
Template::Plugins is a Perl module with plugin provider.
SYNOPSIS
use Template::Plugins;
$plugin_provider = Template::Plugins->new(%options);
($plugin, $error) = $plugin_provider->fetch($name, @args);
The Template::Plugins module defines a provider class which can be used to load and instantiate Template Toolkit plugin modules.
<<lessSYNOPSIS
use Template::Plugins;
$plugin_provider = Template::Plugins->new(%options);
($plugin, $error) = $plugin_provider->fetch($name, @args);
The Template::Plugins module defines a provider class which can be used to load and instantiate Template Toolkit plugin modules.
Download (0.76MB)
Added: 2007-08-08 License: Perl Artistic License Price:
807 downloads
Template::Parser::CET 0.04
Template::Parser::CET is a Template::Alloy based parser for the TT2 engine. more>>
Template::Parser::CET is a Template::Alloy based parser for the TT2 engine.
SYNOPSIS
use Template;
use Template::Parser::CET;
my $t = Template->new(
PARSER => Template::Parser::CET->new
);
# you can override all instances of TT
# by any of the following methods
use Template::Parser::CET activate => 1;
# OR
use Template::Parser::CET;
Template::Parser::CET->activate;
# OR
use Template::Config;
$Template::Config::PARSER = Template::Parser::CET;
my $t = Template->new;
Template::Parser::CET provides much or most of the TT3 syntax and runs on the current TT2 engine.
Template::Alloy which was formerly known as CGI::Ex::Template (CET) provides a fast implementation of TT2 and TT3. There are some cases where Template::Toolkit is faster. There are also some cases where shops have custom providers, or custom stashes that require the use of the current TT2 engine. In these cases, Template::Parser::CET provides the best of both worlds - offering TT2 AND TT3 syntax and running on the existing platform making use of all of your current work (In many cases CET should be able to do this anyway).
This module may eventually be made obsolete when the final real Template::Toolkit 3 engine by Andy Wardley is released. But that would only be a good thing. If the TT3 engine doesnt provide full backward compatibility this module will.
CET has provided TT3 features since Spring of 2006 but there has been little reported uptake. The TT3 features/extended syntax are very compelling. For various reasons people chose not to use CET. Now people can use TT2 and get the features of TT3 (through CET) today.
Hopefully Template::Parser::CET and Template::Alloy can be used in the same spirit as Pugs is used for Perl 6. All of the code from CET and Template::Parser::CET are free for use in TT3.
<<lessSYNOPSIS
use Template;
use Template::Parser::CET;
my $t = Template->new(
PARSER => Template::Parser::CET->new
);
# you can override all instances of TT
# by any of the following methods
use Template::Parser::CET activate => 1;
# OR
use Template::Parser::CET;
Template::Parser::CET->activate;
# OR
use Template::Config;
$Template::Config::PARSER = Template::Parser::CET;
my $t = Template->new;
Template::Parser::CET provides much or most of the TT3 syntax and runs on the current TT2 engine.
Template::Alloy which was formerly known as CGI::Ex::Template (CET) provides a fast implementation of TT2 and TT3. There are some cases where Template::Toolkit is faster. There are also some cases where shops have custom providers, or custom stashes that require the use of the current TT2 engine. In these cases, Template::Parser::CET provides the best of both worlds - offering TT2 AND TT3 syntax and running on the existing platform making use of all of your current work (In many cases CET should be able to do this anyway).
This module may eventually be made obsolete when the final real Template::Toolkit 3 engine by Andy Wardley is released. But that would only be a good thing. If the TT3 engine doesnt provide full backward compatibility this module will.
CET has provided TT3 features since Spring of 2006 but there has been little reported uptake. The TT3 features/extended syntax are very compelling. For various reasons people chose not to use CET. Now people can use TT2 and get the features of TT3 (through CET) today.
Hopefully Template::Parser::CET and Template::Alloy can be used in the same spirit as Pugs is used for Perl 6. All of the code from CET and Template::Parser::CET are free for use in TT3.
Download (0.035MB)
Added: 2007-07-04 License: Perl Artistic License Price:
846 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above template system search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed