Re: [PHP3] Re: [PHP Template] Re: [PHP3] Re: [PHP Template] Re: [PHP3] PHP Template Engine spec revision 0.52
| From: | Andi Gutmans | Date: | Tue, 21 Mar 2000 16:40:21 +0000 |
| Subject: | Re: [PHP3] Re: [PHP Template] Re: [PHP3] 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-356@lists.php.net to get a copy of this message | ||
On Mon, 20 Mar 2000, Monte Ohrt wrote:
> Hello,
>
> Hopefully I'll be able to clarify some important things to know about this
> template engine. You can't just take a glance at the spec and say "it's too
> complex", there is a lot of time-consuming thought and input from everyone that
> derived the way it is designed.
>
> The engine specifications are designed around the top priority being
> ease-of-use, followed by flexibility. The template engine IS easy to use, yet
> harnesses the power designers will want once they get comfortable with it. We
> wanted to keep the syntax as close to HTML as possible (since the majority of
> designers are comfortable with this), yet retain the ability to handle basic
> template logic controls.
>
> Andrei and I come from a background where we interact with the designers on a
> daily basis. We've tried all sorts of template solutions out there and quite
> frankly, none of them cut it. We need to separate form from content, yet give
> the designers the flexibility they need to design! Far too often the designers
> have one hand tied behind their back because of the limitations the templates
> give them. They can't just come tap us on the shoulder every time they have an
> idea. Through our experience, the majority of what designers need can be covered
> with "includes", basic "if" logic and section looping. This opens a whole
> new
> perspective of options for them without having to learn all the little
> idiosyncrasies of the PHP language, not to mention they don't break our code!
Then just teach them the PHP "if" and "include" commands :) What is the
use of rewriting these commands for templates?
Andi