Smarty mit dem Zend Framework

Maurice Fonk beschreibt seinen Ansatz Smarty mit dem Zend Framework zu verwenden.

When I started using the Zend Framework a while ago now, I read this article on the zend developer zone. While it describes a decent implementation, I have some problems with it. First of all it breaks standard Zend_View behavior. Like mentioned in the comments somewhere, if you were to decide you want to use Zend_View again for some reason you would have to rewrite large parts of your application, apart from editing your templates. Especially the caching functions annoy me, as they add a set of behavior not even remotely present in the parent class. Zend_Cache is there for a reason.

Possibly related posts (automatically generated)