Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.52
[email protected] (Andrei Zmievski) Mon, 20 Mar 2000 19:41:25 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
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