Re: [PHP Template] A suggestion

From: Date: Tue, 29 Feb 2000 04:18:40 +0000
Subject: Re: [PHP Template] A suggestion
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-239@lists.php.net to get a copy of this message
On Mon, 28 Feb 2000, J. M. Castagnetto wrote: > "The PHP template engine uses external template and configuration files, to > generate the appropriate layout representation of the data processed in the > calling (host?) PHP script. In principle a script could pick different > templates to display the same data in different ways: HTML for a web > browser, XML for data encapsulation, etc." This brings up a good point. Right now we have "escape" attribute which says whether to HTML escape the output of a variable. Well, what if it's used in XMl or plain e-mail? What do we need to escape then? > Hope I got most of the stuff above right. Feel free to correct me if I did > not understand some point in the PHP-TE description (hey! new acronym ;) Yes, you got everything right. I'll add your drawing and paragraph to the spec. -Andrei

« previous php.template (#239) next »