Separate is a modern open-
source Template Engine for PHP


The Separate Template Engine allows you an elegant separation of the business logic from the presentation layer, it is easy to learn and it offers universal possibilities such as:
 
IF-Condition
Decisions can be directly realized in
the template file with the IF construct.
<!-- IF '${VAR}' == 'TRUE' -->
    <p>Hello</p>
<!-- END IF -->
Template Including
Allows integration of
further template files.
<!-- INCLUDE header.htm -->
    <p>Hello</p>
<!-- INCLUDE footer.htm -->
Dynamic Blocks
Useful for generating a list with
dynamic content, for example.
<!-- BEGIN my_block -->
    <li>...</li>
<!-- END my_block -->
Value Formatter
A convenient way to
format placeholder values.
${UNIXTIME} <!-- 1354175751 -->
${(Date)UNIXTIME} <!-- 29.11.2012 -->
${(Time)UNIXTIME} <!-- 08:55 -->

...and much more.
(All possibilities are described in the Documentation.)
© 2004—2017 Eduard Sudnik E-Mail: separate@esud.info