[OT]: comments on the template engine example document

From: Date: Fri, 24 Mar 2000 12:01:23 +0000
Subject: [OT]: comments on the template engine example document
References: 1 2  Groups: php.template 
Request: Send a blank email to php-template+get-460@lists.php.net to get a copy of this message
nah, I wasn't clear. I don't argue about {alternate} keyword in particular. I do argue about the fact that you seem to say that using some logic in the template is easier to use for a designer than using some php code. Then I said: + yes it might be for a native english speaker + but for non english speaker, it's the same: just a keyword with some logic. Yes, I still haven't figured out WHY there must be some logic in the templates... I'm gonna ask a few more designers about this, and I'll give you some feedback Anyway, forget about it, I'll just wait for your engine, make some speed test, and then I'll see. -- At 13:12 23/03/00 -0600, monte wrote:
jm wrote: I hope my example was clear... I found that quite powerful and therefore my rejection of "logic" stuff directly in the template. Another thing you might want to consider is that not all people are native english speaker and a {section} {alternate} {/section} is as complicated for them as some php code. How about: {section} {sectionelse} {/section} we already have: {if} {else} {/if} We could follow this syntax concept. It would be tough to make the syntax meaningful in all languages. Monte


« previous php.template (#460) next »