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?
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?
You're not the only one who thinks so about missing examples:
and the added overhead
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/