ZF-3156: Create use cases and examples for ActionStack Documentation


Per the discussion in Chuck Hoffman's blog, we need some concrete use cases and examples for using the ActionStack to make it clear what the purpose of the component is.


I have a concrete example : I use ActionStack in my bootstrap file to handle header and footer actions :

// part of a scaffolded bootstrap file
public function initFlow()
        $actionStack = Zend_Controller_Action_HelperBroker::getStaticHelper('actionStack');
        $actionStack->direct('header','index'); // dispatch my header
        $actionStack->direct('footer','index'); // dispatch my footer
        $actionStack->direct('liste','livres'); // dispatch some kind of list
        return $this;

Some more ressources can be found on some tutorials I write : http://julien-pauli.developpez.com/tutoriels/… (french)

Assigning to Ralph and scheduling for next mini release.