Re: [PHP Template] A suggestion
[email protected] (Andrei Zmievski) Mon, 28 Feb 2000 22:18:40 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
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