PHPLIB templates can grant you an amazing ability to abstract the manipulation of data (in the database as well as in PHP) from its final format, whether that format is HTML, XML, WML, or a formatted e-mail, and some of these ways will be explored here.
1) Use a template to to give a site a consistent look and feel. With most sites, you want to have a consistent presentation of links, logos, and other information regardless of what portion of the site they are using. Templating is a drop-dead shoe in.
2) Use templates to allow for rapid and painless rebranding. If you work independantly, you can write your ASP application once, and rebrand the entire site by editing a single template file.
3) Use templates to automatically generate e-mails. This allows you to change your message at any time without diving into code.
4) Use templates for user preferences. A user could change the look and feel of your entire site by choosing the style of his/her choice.
5) Build an XML version of dynamic sites without touching a single bit of PHP code - instead, define a template variable, and use the same block of code with a different template file to generate the HTML or XML version of the site.
And the list goes on...
I hope this has given you some insights on this powerful and useful class.