Linux SoftwareProgrammingLibrariesTemplate::Library::HTML 2.15

Template::Library::HTML 2.15


Template::Library::HTML is a template library for building basic HTML pages. NOTE: This documentation is incomplete and may be inc
Developer:   Andy Wardley
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   760K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Template::Library::HTML is a template library for building basic HTML pages.

NOTE: This documentation is incomplete and may be incorrect in places. The 'html' template library is distributed as part of the Template Toolkit. It can be found in the 'templates' sub-directory of the installation directory.

use Template;

my $tt2 = Template->new({
INCLUDE_PATH => '/usr/local/tt2/templates',
});
For a portable way to determine the installation 'templates' directory, you can use the Template::Config->instdir() class method.
use Template;

my $tt2 = Template->new({
INCLUDE_PATH => Template::Config->instdir('templates'),
});
You should now be able to access the html library as, for example:
[% INCLUDE html/header %]
Note that some of the more basic elements don't give you much more than the raw HTML tags. In many cases you might be well advised to stick to regular HTML rather than complicating matters by the use of template elements.
e.g.
< table >
. . .
< /table >
vs
[% WRAPPER html/table %]
. . .
[% END %]

However, the use of template elements to generate the underlying HTML does have some important benefits, particularly as the constructs start to get more complicated and more magical.

See the example in the 'examples' sub-directory of the distribution directory for further examples and enlightenment on using this library.

Requirements:
  • Perl
    tags template library  include path  template config  config instdir  template elements  the use  template new  tt2 template  the html  the template  sub directory  the installation  use template  

    Download Template::Library::HTML 2.15


     http://mirrors.evolva.ro/CPAN/authors/id/A/AB/ABW/Template-Toolkit-2.15.tar.gz


    Authors software

    Template::Library::Splash 2.15 (by Andy Wardley)
    Template::Library::Splash is a template library for building stylish HTML user interfaces.

    NOTE: This documentation is incomplete,

    Template::Library::HTML 2.15 (by Andy Wardley)
    Template::Library::HTML is a template library for building basic HTML pages.

    NOTE: This documentation is incomplete and may be inc

    XML::Schema::Type::Simple 0.07 (by Andy Wardley)

    XML::Namespace 0.02 (by Andy Wardley)
    XML::Namespace is a Perl module with simple support for XML Namespaces.

    SYNOPSIS

    Example 1: using XML::Namespace objects

    Template::Plugin::XML::Style 2.16 (by Andy Wardley)
    Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations.

    SYNOPSIS

    [% USE xmlstyle


    Similar software

    Template::Library::HTML 2.15 (by Andy Wardley)
    Template::Library::HTML is a template library for building basic HTML pages.

    NOTE: This documentation is incomplete and may be inc

    Template::Library::Splash 2.15 (by Andy Wardley)
    Template::Library::Splash is a template library for building stylish HTML user interfaces.

    NOTE: This documentation is incomplete,

    Template::Tutorial::Web 2.15 (by Andy Wardley)
    Template::Tutorial::Web is a Perl module for generating web content using the template toolkit.

    This tutorial document provides a

    HTML::Template::JIT 0.05 (by Sam Tregar)
    HTML::Template::JIT is a just-in-time compiler for HTML::Template

    Bee Template 0.3 (by Bee Template Team)
    Bee Template is a Web template system parses HTML files into PHP objects which can be manipulated by using tag names or IDs.

    While

    HTML::Template 2.8 (by Sam Tregar)
    HTML::Template module attempts to make using HTML templates simple and natural

    Petal::Cookbook 2.19 (by William McKee)
    Petal::Cookbook is a Perl module to recipes for building templates with Petal.

    This document contains some examples of Petal templ

    HTML::Template::Expr 0.07 (by Sam Tregar)

    libhtmlTemplate 1.1.0 (by Rui Barreiros)
    libhtmlTemplate, is a library to aid developers to separate content from code

    HTML::DWT 2.08 (by S.D. Campbell)


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags