Would Anybody like to help me create a pastebin?
llihttocs at gmail.com
Mon Aug 6 11:36:17 MDT 2007
On 8/6/07, Wade Preston Shearer <lists at wadeshearer.com> 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.
"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
More information about the UPHPU