Tutorial :Integrating Smarty into Zend Framework 1.10


I searched through Google and there was little to no information about how to integrate Smarty 2.x into Zend Framework 1.10.

Can anyone help me figure out how to do this?


This a little older, but should provide you with a good starting point. http://anders.tyckr.com/2008/03/12/implementing-zend-layout-and-smarty-using-zend-framework-mvc/


But also consider this.

It is absolutely senseless to integrate Smarty with ZF unless you also integrate some script that aready use smarty. But i would not use smarty with ZF in any case like

  1. I know how to work with smarty and I do not want to learn new I just want to continue use smarty
  2. I think smarty is powerful
  3. I do not know how to do it without smarty
  4. I think smarty wil make my project more advanced

Smarty is advanced, powerful and great templating system but ZF has it's own MVC and I would not messup with it.


This might be a simpler implementation




Please have a look it seems like best solution to integrate

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »