Re: comments on the template engine example document
| From: | Monte Ohrt | Date: | Thu, 23 Mar 2000 19:12:43 +0000 |
| Subject: | Re: comments on the template engine example document | ||
| References: | 1 2 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-454@lists.php.net to get a copy of this message | ||
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