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||Internet Web Dynamic Content CGI Tools/Libraries Software Development Libraries Application Frameworks|
|Operating Systems||OS Independent|
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.
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.