Open Power Template
From Invenzzia wiki
Open Power Template is a powerful XML-based template engine for PHP5. Contrary to many other template engines and PHP itself, OPT aims to provide declarative tools for presentation layer designers. It means that you do not have to worry, how all those things are supposed to work and co-operate with the script. You must only tell what you want to get and OPT will do the rest for you.
Contents |
Articles
- Quickstart
- Securing the templates
- Understanding the data formats
- OPT Hacker's Guide
- OPT 1.x vs OPT 2.x - explaination
- How fast is Open Power Template?
Tips & tricks
- Custom escaping functions - how to prevent XSS attacks.
- JavaScript code escaping
- URL routing with OPT
- String concatenation in OPT
- Conditional comments for IE
- How to load templates from a database?
- How to display a default value, if the variable is not set?
OPT cookbook
- Dynamic CSS/JS loading
- Forms with OPT
- Nice navigation bar with OPT
- A photo gallery with OPT
- OPT and pagination

