Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 701
Nandini Bhaduri Avatar asked Jan 30 '26 05:01

Nandini Bhaduri


1 Answers

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)

like image 171
JohnP Avatar answered Jan 31 '26 20:01

JohnP



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!