On 8/6/07, Wade Preston Shearer <[EMAIL PROTECTED]> wrote: > > Smarty's concept > and ability is great, but why isn't it written in and using PHP?
I think PHP is very capable of doing anything a template engine does. When I was first introduced to PHP, I reviewed code examples (some from expensive books) that had PHP coed embedded in HTML. Because of years of structured programming languages, I almost gave up on it then. It looked hideous and didn't seem like much thought was put into doing it that way. Fortunately, I also reviewed many other code examples (many from this list) that showed what PHP could really do. At that point I decided to use PHP to output all HTML in all of my coding. I have never been involved in a project big enough to have separate designers. But it's easy for me to choose a design I like and then make PHP output the HTML. And it's all in PHP. I have never been able to justify the overhead of a template engine in what I've done so far. My humble $.0s. -- Scott Hill "May you solve interesting problems" - Author Unknown "A fanatic is one who can't change his mind and won't change the subject." - Sir Winston Churchill _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
