News for hackers. Stuff that matters.
Re:Zawodny: Database Abstraction Layers Must Die (at least f... by Zak on Friday July 17, 2009 @11:41AM (#710107)
So why do folks [make templating systems like Smarty]? Because PHP is also a programming language and they feel the need to "dumb it down" or insulate themselves (or others) from the "complexity" of PHP.

I don't think that's it, or if it is, it's not a very good reason. Using a templating system that's less than a full programming language keeps you from putting too much logic in your templates. Most of us prefer that logic and presentation be separated. PHP's HTML embedding tempts people to do the Wrong Thing in that regard.

Re:Zawodny: Database Abstraction Layers Must Die (at least f... by rjurney on Friday July 17, 2009 @12:33PM (#710218)
But along this line - PHP started as a template language... and it should have remained a template language.