Re: [PHP Template] making templates more integrated?

From: Date: Tue, 29 Feb 2000 00:41:38 +0000
Subject: Re: [PHP Template] making templates more integrated?
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-233@lists.php.net to get a copy of this message
> 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

« previous php.template (#233) next »