Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Integrating Smarty and eZ Components with the Zend Framework
Apr 17, 2006 @ 18:20:29

In a follow-up to their previous article on Smarty integration with the Zend Framework, the Zend Developer Zone has posted this new item to act as an update.

I want to address some of the issues in the comments of the first part and add some further information on how to setup your application to use the Travello_View_Smarty class. Along the way you learn how to integrate classes of the ezComponents.

He uses the configuration class from the eZ Components framework to configure the application, and an __autoload to get it working. There's a bit on how to set up the configuration with the library, and how to use that config to remove the Smarty integration's dependence on the data being passed directly to the view. Now it can be defined dynamically and pulled in via the constructor they've created.

tagged: zend developer zone smarty integrate ez components zend developer zone smarty integrate ez components

Link:


Trending Topics: