Re: PHP & TPL files



In this context, I suppose you could describe a template parser as a
program which "processes" or "interpertes" template files.

An example of a template is

<?php include "BusinessLogic.php"; ?>
<html><head><title><?php echo $title ?></title></head>
<body>
<h1><?php echo $title ?></h1>
<?php echo $content ?>
</body>
</html>

and php is the program that can interperate this template. Note, your
graphic designer can also load this template up in a product like
dreamweaver and work with the design.

Neat huh?

.