This tutorial explains different template modularization techniques available in Open Power Template and shows how to use them to create a flexible template rendering environment for a typical web application.
Selected tags: 2.0 tutorial Open Power Template projects
Join another: Doctrine
The Open Power Template syntax is based on XML. This leads us to a set of instructions helpful in managing the produced XML code, creating attributes and tags and the whole process is a bit different than in most of the template engines. This article is going to show you, how to use the available tools and how to manipulate the generated output HTML code.
This tutorial shows, how to use sections and data formats in Open Power Template, two unique and powerful features that make writing templates much simpler and faster.
The tutorial teaches the reader, how to use Doctrine ORM and Open Power Template 2 by writing a sample web application, a photo gallery.