Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Open Power
Template is a web template engine written in PHP 5. A common strategy in
designing web application is separation of the application logic from
the presentation. OPT is a tool for implementing such separation. The
presentation layer is represented by templates, text files with HTML
code and extra instructions controlling the data substitution. OPT uses
a dedicated XML template language for writing templates. It is not a
general-purpose, but a domain-specific language. It was primarily
designed to support and simplify template-specific problems with a set
of declarative instructions. Instead of implementing the rendering
algorithms and statements, like in imperative programming, the template
designer specifies the expected result and features. This aims to ease
the costs and efforts associated with the software development and
further maintenance.