Projects / XTemplate

XTemplate

XTemplate is a template engine for PHP which allows you to store your HTML code apart from your PHP code. It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized. It includes several examples and was written with an attempt at being easy to understand. The basic syntax is from FastTemplate and QuickTemplate but the entire class was written from scratch without code from other template engines.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  27 Mar 2001 02:34

    Release Notes: Changing ereg to preg, SetNullBlock fixes, removal of unwanted newlines before and after blocks (for WML), addition of CachedXTemplate, and some other minor optimizations and bugfixes.

    •  14 Jun 2000 10:47

      Release Notes: Two serious bugs have been fixed, namely an HTML comment caused the parsed text to completely screw up, this has been fixed. Style sheet brackets were parsed as variables, and were interpolated to empty strings, this has also been fixed.

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.