PHP/XML Template Engine

XSLT-style PHP/XML template engine with modular extension capabilities.

Activity Feed (RSS), Repository Explorer (SVN)

svn checkout http://svn.hyperkit-software.com/phptemplates/

Introduction

This library provides a lightweight and pure XML template engine for PHP. The library is lightweight because the source code is really minimal allowing easy integration into existing PHP projects. It is also a pure XML template engine because the structure of templates can be entirely encoded using XML syntax. The connection to your application data and business logic usually happens in attributes of your template tags. The attributes can be expressed simply with raw PHP syntax such that no special expression language is needed.

Tags (2)

Screenshots (6)

Tutorials (2)

  • A first example
    This short tutorial explains how to write and evaluate own templates.
  • Writing your own tag library
    This tutorial explains how to write your own tag library to integrate custom functionality into the template engine.

Activities (Subversion)

Actions

Activity
added  
modified  
deleted  
replaced  
2
14
24
2
51
4
2
11
1
23
30
1
2
4
1
1
Month 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
Year 2011 2012 2014

Developers

Activity
georg  
2
40
55
14
54
2
4
1
1
Month 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
Year 2011 2012 2014

Files (Subversion)

Filename Size Author Time Revision
.project 216 Byte georg 2011/08/31 15
classes 0 Byte georg 2014/05/10 29
StandardTagLibrary.php 12 KB georg 2014/05/10 29
Template.php 3 KB georg 2012/05/24 27
TemplateEngine.php 6 KB georg 2012/05/21 24
TemplateHelper.php 852 Byte georg 2011/08/31 15
docs 0 Byte georg 2011/09/05 21
blank.html 440 Byte georg 2011/09/01 18
classtrees_hyperkit-pxte.html 1 KB georg 2011/09/05 21
elementindex.html 13 KB georg 2011/09/05 21
elementindex_hyperkit-pxte.html 13 KB georg 2011/09/05 21
errors.html 968 Byte georg 2011/09/05 21
hyperkit-pxte 0 Byte georg 2011/09/05 21
_StandardTagLibrary.php.html 3 KB georg 2011/09/05 21
_Template.php.html 2 KB georg 2011/09/05 21
_TemplateEngine.php.html 2 KB georg 2011/09/05 21
_TemplateHelper.php.html 2 KB georg 2011/09/05 21
core 0 Byte georg 2011/09/05 21
StandardTagLibrary.html 22 KB georg 2011/09/05 21
Template.html 9 KB georg 2011/09/05 21
TemplateEngine.html 15 KB georg 2011/09/05 21
TemplateHelper.html 4 KB georg 2011/09/05 21
index.html 967 Byte georg 2011/09/05 21
li_hyperkit-pxte.html 2 KB georg 2011/09/01 18
media 0 Byte georg 2011/09/01 18
banner.css 393 Byte georg 2011/09/01 18
stylesheet.css 5 KB georg 2011/09/01 18
packages.html 926 Byte georg 2011/09/01 18
docs.bat 74 Byte georg 2011/09/01 16
docs.sh 74 Byte georg 2011/09/01 16
examples 0 Byte georg 2011/09/05 21
Database.xml 814 Byte georg 2011/08/31 15
Evaluate.php 933 Byte georg 2011/05/14 6
Overview.php 591 Byte georg 2011/05/14 6
Style.css 413 Byte georg 2011/05/14 6
templates 0 Byte georg 2011/09/05 21
HTMLTemplate.xml 1 KB georg 2011/09/01 19
ItemTemplate.xml 265 Byte georg 2011/09/05 21
RSSTemplate.xml 527 Byte georg 2011/05/15 9