Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.52
| From: | Andrei Zmievski | Date: | Tue, 21 Mar 2000 01:41:25 +0000 |
| Subject: | Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.52 | ||
| References: | 1 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-341@lists.php.net to get a copy of this message | ||
At 02:31 PM 3/20/00 -0800, Dan Libby wrote:
>I agree that the spec has become too complex. In particular, the use of @, $,
>% have confused me almost as much as perl does. ;-) I doubt that the target
>audience (designers, html writers) will grasp this easily. Further, I still
>question the need for includes and for config file access, both of which I
>believe belong in the realm of the php code.
Grasping this will be a matter of good documentation and clear examples.
People learn HTML which is way more complex that this template language.
>I even question the need for template level conditionals, given that a
>template writer could simply define two sections which the PHP code is able to
>choose between and and selectively display/hide.
Exactly, PHP code would need to do that. But our designers _love_ having
conditionals because they can quicklyi and easily use them for their purposes.
-Andrei