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:
“Blow the dust off the clock. Your watches are behind the times. Throw open the heavy curtains which are so dear to youyou do not even suspect that the day has already dawned outside.”
—Alexander Solzhenitsyn (b. 1918)
“The only power deserving the name is that of masses, and of governments while they make themselves the organ of the tendencies and instincts of masses.”
—John Stuart Mill (18061873)