Comments on: Template engines http://blog.sig9.net/2008/01/21/template-engines/ Snippets and Bits... Sat, 16 Jul 2011 13:22:20 +0000 hourly 1 https://wordpress.org/?v=4.6.1 By: Carlos Andrade http://blog.sig9.net/2008/01/21/template-engines/#comment-23526 Sat, 26 Jan 2008 17:11:49 +0000 http://blog.sig9.net/2008/01/21/template-engines/#comment-23526 Couldn’t agree more.
“separation between the business and the presentation logics” doesn’t have nothing to do with using template systems.

]]>
By: nuno http://blog.sig9.net/2008/01/21/template-engines/#comment-23153 Wed, 23 Jan 2008 15:10:41 +0000 http://blog.sig9.net/2008/01/21/template-engines/#comment-23153 I’m not against template engines because the new PHP frameworks offer a lot more features.

I’m against template engines because I think they are useless. I can do the same stuff directly in PHP and with my past experience I don’t buy the reasons people say in favor of template engines.

I agreed with the template engines way 4 years ago. What changed my mind was my experience, that’s it.

]]>
By: André Ribeirinho http://blog.sig9.net/2008/01/21/template-engines/#comment-22908 Mon, 21 Jan 2008 23:42:31 +0000 http://blog.sig9.net/2008/01/21/template-engines/#comment-22908 I use Smarty a lot. It helps me keep the code organized and well structured. However it is true that new PHP frameworks offer a lot of features (helpers, cache, etc) that make Smarty useless.

Adding Smarty to an MVC framwork is like adding sugar to a hot chocolate. There’s already too much of it there.

So either I use Smarty in smaller projects or frameworks for bigger things.

]]>
By: Filipe Correia http://blog.sig9.net/2008/01/21/template-engines/#comment-22860 Mon, 21 Jan 2008 14:13:35 +0000 http://blog.sig9.net/2008/01/21/template-engines/#comment-22860 I have to say I agree, template engines are only useful when they keep the template language really simple (ie, way simpler than the language used for business logic).

The only template language I’ve enjoyed working with so far was django‘s.

]]>