Projects / bTemplate


bTemplate is a PHP class that facilitates the separation of PHP code and various markup languages (HTML, XML, etc.). It provides simple variable interpolation, loops, complex (nested) loops, simple conditionals, and case loops. By default, it uses XML compatible syntax, but the opening and closing tags can be customized.


Recent releases

  •  03 May 2003 19:18

    Release Notes: This is the final release of bTemplate. else syntax has been added to the conditional parsing. There is no need to update if you don't need this functionality.

    •  11 Jun 2002 18:21

      Release Notes: This version introduces a new case loop syntax, an optional second argument to the constructor (whether to reset template variables after a fetch() call), and a reset_vars() method that allows you to manually reset template variables. The documentation has been updated to include all features, and the bTemplate Web site has benchmarks that compare bTemplate to various other template systems.

      •  02 Jun 2002 08:53

        No changes have been submitted for this release.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.