Proposal for "PHPTAL"

» Metadata » Status
» Description

Fast, safe, XML-based templating engine for XHTML and HTML5.

Implementation of Zope's Template Attribute Language, which has clean, concise syntax that is compatible with XML tools (no custom ugly tags), and template source files can even be previewed in web browsers or opened in WYSIWYG editors.

Templates are compiled to PHP and cached, giving great performance and taking advantage of PHP accelerators.

PHPTAL by default ensures well-formed output and escapes XML-unsafe characters everywhere, which means that your pages can be completely safe against HTML-injection (XSS) without great effort.

Additional features:

  • fine-grained caching of output,
  • pre- and post- filters,
  • internationalization via gettext or custom backend,
  • creation of custom template attributes and expressions,
  • templates loaded from non-standard sources (e.g. database),
  • supports UTF-8 well,
  • is easy to integrate and redistribute with PHP frameworks and applications.
  • object-oriented design, comprehensive unit test suite.
» Dependencies » Links
» Timeline » Changelog
  • First Draft: 2009-04-03
  • Proposal: 2009-04-03
  • Call for Votes: 2009-04-26
  • Kornel Lesinski
    [2009-04-04 17:35 UTC]

    Ensuring it's sent to pear-dev.

  • Kornel Lesinski
    [2009-04-20 16:43 UTC]

    Changed package from latest-stable to latest-cutting-edge-with-pear-changes.

  • Kornel Lesinski
    [2009-04-26 02:36 UTC]

    Fixed remaining issues. Added tests to package, upgraded package.xml to 2.0. Should be good to go!