Re: [PHP Template] making templates more integrated?

[email protected] Tue, 29 Feb 2000 10:41:38 +1000 (EST)
Newsgroups php.template
Message-ID <[email protected]>
> Now the question here is how does the parser know that it's supposed
> to do the equivalent of "print $variable" or not depending on if
> '$variable' happens to
> be in an enclosing body of code? I think it's a parser issue which
> should't be too hard to figure out: ie. if it's inside a code body, don't
> treat it like a template item. Or maybe "$$variable" is the special
> template case or something like that (ala shells).

I have been using PHP for a while now, and have always resorted to kludgey
methods of "templating" - so i jumped at the chance to join this list when
I saw it in a slashdot thread.

The first thing I thought about after reading Andrei's spec was "is this
functionality going to be an /ext, PEAR or implemented directly into the
parser? (or a combination!?) "

I'm still a little confused, would anyone care to clarify?


thanks,

Avi