views:

329

answers:

2

Do you know any real life examples of actionStack() action helper in Zend Framework?

It seems quite a big overhead to have multiple dispatch loops. Then when it is really needed?

+3  A: 

You're not the only one who thinks so about missing examples:

and the added overhead

Gordon
+2  A: 

As far as I am aware, there's never a good reason to use the ActionStack. You should move the logic you need into view helpers, action helpers or (usually) the model.

See also http://www.rmauger.co.uk/2009/03/why-the-zend-framework-actionstack-is-evil/

Rob Allen