Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.35
[email protected] (Kristian Köhntopp) Fri, 25 Feb 2000 12:26:28 +0100
| Newsgroups | php.template |
|---|---|
| Organization | NetUSE GmbH |
| Message-ID | <[email protected]> |
Andrei Zmievski wrote: > I guess I just don't see a big benefit to each template describing its > own delimiters. It does not. There is a set of standard delimiters and if the template does not define a different set of delimiters, these are used. If a template uses a different set of delimiters, there is little use to define there delimiters outside of the template, for example in an ini-file, because if you copy that template to a different installation, you will a) almost surely have template which use standard delimiters in that installation, so you have either to convert the newly imported template or the old templates b) almost surely forget to adapt these settings so that the imported template will break. If all template use standard delimiters by default and these templates that do not (for a reason) use these standard declare so at the top, templates can easily be switched between installations with no adaption problems and without bothering. The format is self- contained and self-describing. Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!)