SMARTY – The PHP Template Engine
Smarty, unlike FastTemplate and patTemplate or other compilers, compiles the template that you have created into PHP scripts. It is very suitable and recommended for large applications and even for websites with high traffic.
Smarty parses the templates that you have created and starts creating PHP scripts from the templates, instead of binaries. When the webpage is viewed, Smarty reads from the PHP scripts, which is efficient and will avoid you from parsing your templates again. When editing the templates, Smarty recompiles the templates when you make change son them, thus eliminating your worry from manually compiling the templates yourself.