Re: Template engines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-11-08 at 23:36 +0100, knl@xxxxxxxxxxx wrote:
> On Mon, 8 Nov 2010 14:41:12 -0700
> "Hansen, Mike" <Mike.Hansen@xxxxxxxxx> wrote:
> 
> > I really like the idea of using a templating engine. Which one do you
> > use? Why? For those that don't use templating engines, why don't you
> > use them? 
> 
> PHP is in itself a template language and I find that the template
> engines just get in the way. 
> 
> Why learn a template language when you can just concentrate on PHP?
> 
> Also you can easily become dependable on a third party template system
> which needs to be upgraded. You never know when such an upgrade is
> necessary for your system and when it might break something.
> 
> I always use homemade template systems and try to keep things very
> simple. If designers are working on the project as well they almost
> always benefit from a little insight into PHP rather than having to
> learn some template language they can't use for anything else.
> 
> IMHO - If you have to jump in and out of HTML and template syntax you
> might as well jump in and out of HTML and PHP.

There is truth to this, but for me, its helping me learn in a much
clearer way. I can't explain how or why, but it make me feel like
everything is neat and tidy and where it should be. Where PHP and HTML
mixed and mingled gives me the feeling that everything is a disaster.


-- 
Blessings,
David M.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux