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 (i.e. data processing) from the presentation (displaying the data). 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.
The library provides an object-oriented API based on the solutions from popular frameworks. As it is the first member of a bigger project, Open Power Libs, it is built upon a small OPL core library which provides the basic features.
Read more about Open Power Template: History, Features, Sample Application, Links and References
Famous quotes containing the words open and/or power:
“[Panurge] spent everything in a thousand little banquets and joyous feasts open to all comers, particularly jolly companions, young lasses, and delightful wenches, and in clearing his lands, burning the big logs to sell the ashes, taking money in advance, buying dear, selling cheap, and eating his wheat in the blade.”
—François Rabelais (14941553)
“The power of lying is much less than the power of what is not to be discussed.”
—Mason Cooley (b. 1927)