|
|
Home patTemplate Preface Introduction |
| Introduction |
|
|
|
|
patTemplate is an XML based Templating Engine available at http://www.php-tools.de. The purpose of a Template Engine is to separate the processing of application data from the presentation of that data. The advantages of using a Templating Engine are many:
Templating Engines in general follow the model-view-controller pattern that is well known to Java and other object orientated languages. In broad terms, the model represents that data in your database, the controller represents the executable code that accesses the data and manipulates it according to business rules, and the view represents the files that make up the HTML output of the application. patTemplate interfaces with the controller (your PHP application) and provides a complete solution for your application's view. It does this via a PHP API and templates made up of mostly pure HTML, special XML tags and {VARIABLE} markups. |
|
| Last Updated ( Saturday, 09 July 2005 ) |
| Next > |
|---|





