Re: [PHP Template] DTML?
[email protected] ("Darrell Brogdon")
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
I agree. It seems like all of this other stuff is redundant to what PHP already does. Just thinking from my perspective, it would be nice to be able to let our designer build a web page and just include a few simple tags that brings in all the back-end development our developers have done. If I've missed something here please feel free to clue me in. :) -D ----- Original Message ----- From: Dan Libby <[email protected]> To: <[email protected]> Cc: <[email protected]> Sent: Thursday, February 17, 2000 5:02 PM Subject: Re: [PHP Template] DTML? > What's the point of this? The whole theory behind using templates is separation > of display (HTML) from code. If you want to mix the two, you may as well use > standard PHP which allows just that, eg: > > <P>My name is <?php echo $myname; ?>.</P> > > If our template system allows arbitrary mixing of code and display, then it has, > in my opinion, lost its reason for existing. > > -dan > > > > > Our SmartTemplate design does just that, we can imbed php code: > > > > {php:} > > <? echo "foo"; ?> > > {/php} > > > > We could put this ability into the template engine. >