Quote:
Originally Posted by Lane
Somebody once said, PHP actually is a template system.
When you add another template system on top, you are creating an additional layer. With new syntax, additional learning curve and more limitations.
I haven't met a person who can learn a template engine syntax (like Smarty or whatever), but can't learn the php syntax.
p.s. I'm not personally against using template systems, I just have mixed feelings about it.
|
PHP is a templating language, but at the same time, it doesn't prevent people from writing shitty code, such as mixing logic with display.