Re: Templates
| From: | Andrei Zmievski | Date: | Tue, 15 Feb 2000 16:28:49 +0000 |
| Subject: | Re: Templates | ||
| References: | 1 2 3 4 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-10@lists.php.net to get a copy of this message | ||
On Tue, 15 Feb 2000, J-F Mammet wrote:
> First you have to understand that my system is very database centric,
> because for want it to be fast.
>
> My main goal was to put most of the parsing out of the script, so I have an
> intranet that parses my templates and stores how they link between them in
> the database. That way I only have to do one SQL select and a "simple" loop
> on the result to get all the templates ready to get parsed with the dynamic
> values. My scripts are quite fast now.
>
> Here is my structure. Sorry for the french names but it should be quite
> easy to understand.
Does your system support inclusion of one template within the other?
Perhaps, my french is too bad but I couldn't really figure it out from
the code.
-Andrei
* The future has arrived, it's just not evenly distributed. -W. Gibson *