Re: PHP & TPL files
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHP & TPL files

From: Tezza <spasmoid@gmail.com>
Date: Mon Oct 31 2005 - 07:36:13 CET

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?
Received on Mon Nov 21 02:53:21 2005