TemplateBuilder is a powerful and easy class to work and manange multi-level templates.
Templates are very usefull because you can define dynamic parts of a page with blocks and sub-blocks. For example, you could create tables with multiple rows by defining each row as a block. These blocks accept variables or functions defined by the user or predefined (see the PHP Functions Reference).
Working with this class you can separate your PHP code from your HTML code. It will transform your programs codes more clearly to understand, clean and easy to maintaim. |