Re: Whats more efficient? (Conclusion)
| From: | Ryan A | Date: | Wed, 22 Oct 2003 03:12:20 +0000 |
| Subject: | Re: Whats more efficient? (Conclusion) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167048@lists.php.net to get a copy of this message | ||
Hey all,
Thanks for clearing up my little doubt, I wanted to know if there was a
major differience.
John, thanks for the reply and I know it makes sense (like all your replies)
but I just kind of got my feet wet with php
and getting to the interesting stuff, learning while i go along of course.
I dont think I can take trying to learn a who new templating
language/package while doing this because I hear
some of them (eg smarty) can be quite tricky sometimes for the
beginner...and I get enough PHP errors so dont want to add templating errors
to that :-)
Just one last question, you guys can reply to this off list or on:
does using a templating engine slow down pages a lot (as i have heard) or
increase speed (as i have heard again) ? :-D
Cheers,
-Ryan
Chris Shiflett wrote:
> --- "John W. Holmes" <holmes072000@charter.net> wrote:
>
>>Use a template engine to separate your presentation from your logic. :)
>
>
> Isn't PHP a templating engine? :-)
Of course it is, but what's that got to do with separating presentation
from logic (business logic)? Each one can be PHP code... :)
Bad answer, I know, because his code could be a PHP "template". I'm sure
it's not, though. I just wanted to give a different answer from the many
"it doesn't matter" answers.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals - www.phparch.com