Search code examples
zend-frameworksmartyzend-layout

Zend_Layout and/or Smarty


I am new to Zend Framework, but planning to create quite a complex project using it.

I was looking at the view options for Zend Framework. There is one with Zend_View and Zend_Layout and also template engines like Smarty can be integrated with it.

Now I would like to know, do they serve the same purpose? Like I can either use Zend_Layout or Smarty or is it better to use both?


Solution

  • I've worked on two large scale Zend projects. We don't use a separate layout engine, we just use the built in Zend_View.

    Layering Smarty on top of Zend wouldn't serve much purpose (imo, would like to see some alternative experiences though)