Location: PHPKode > projects > PEAR::HTML_Template_Xipe - SimpleTemplate > package.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE package SYSTEM "../../php4/pear/package.dtd">
<package version="1.0">
    <name>SimpleTemplate</name>
    <summary>
        A simple, fast and powerful template engine.
    </summary>
    <description>
The template engine is a compiling engine, all templates are compiled into PHP-files.
This will make the delivery of the files faster on the next request, since the template
doesn't need to be compiled again. If the template changes it will be recompiled.

There is no new template language to learn, you can use standard php as
you already know it. Why I did it this way, read the chapter before.

By default the template engine uses indention for building blocks.
This feature was inspired by Python and by the need I felt to force myself
to write proper HTML-code, using proper indentions, to make the code better readable.

Every template is customizable in multiple ways. You can configure each
template or an entire directory to use different delimiters, caching parameters, etc.
via either an XML-file or a XML-chunk which you simply write anywhere inside the tpl-code.

Using the Cache the final file can also be cached (i.e. a resulting HTML-file).
The caching options can be customized as needed. The cache can reduce the server
load by very much, since the entire php-file doesn't need to be processed again,
the resulting client-readable data are simply delivered right from the cache (the data are saved using php's output buffering).

The template engine is prepared to be used for multi-language applications too.
If you i.e. use the PEAR::I18N (see http://pear.php.net) for translating the template,
the compiled templates need to be saved under a different name for each language.
The template engine is prepared for that too, it saves the compiled template including the
language code if required (i.e. a compiled index.tpl which is saved for english gets the filename index.tpl.en.php).
    </description>

    <maintainers>
        <maintainer>
            <user>cain</user>
            <name>Wolfram Kriesing</name>
            <email>hide@address.com</email>
            <role>lead</role>
        </maintainer>
    </maintainers>

    <release>
        <version>1.6.3</version>
        <date>2002-11-30</date>
        <license>PHP License</license>
        <state>stable</state>
        <notes>
            - made switch-case work
        </notes>
        <filelist>
            <dir name="/" baseinstalldir="SimpleTemplate">
                <file role="php">Cache.php</file>
                <file role="php">Engine.php</file>
                <file role="php">Main.php</file>
                <file role="php">Options.php</file>
                <file role="php">XMLConfig.php</file>
                <dir name="Filter">
                    <file role="php">Basic.php</file>
                    <file role="php">Internal.php</file>
                    <file role="php">Modifier.php</file>
                    <file role="php">SimpleTag.php</file>
                    <file role="php">TagLib.php</file>
                    <file role="php">Translate.php</file>
                </dir>


                <dir name="examples" role="doc">
                    <file role="doc" name="style.css"/>
                    <file role="doc" name="translate.sql"/>
                    <dir name="Cache">
                        <file role="doc" name="index.php"/>
                        <file role="doc" name="index.tpl"/>
                        <dir name="tmp"/>
                    </dir>
                    <dir name="fullFeatured">
                        <file role="doc" name="index.php"/>
                        <file role="doc" name="index.tpl"/>
                        <dir name="tmp"/>
                    </dir>
                    <dir name="simple">
                        <file role="doc" name="index.php"/>
                        <file role="doc" name="index.tpl"/>
                        <dir name="tmp"/>
                    </dir>
                    <dir name="simpleTags">
                        <file role="doc" name="index.php"/>
                        <file role="doc" name="index.tpl"/>
                        <dir name="tmp"/>
                    </dir>
                    <dir name="xmlConfig">
                        <file role="doc" name="config.xml"/>
                        <file role="doc" name="index.php"/>
                        <file role="doc" name="index.tpl"/>
                        <dir name="tmp"/>
                    </dir>
                </dir>
            </dir>
        </filelist>
    </release>
</package>
Return current item: PEAR::HTML_Template_Xipe - SimpleTemplate