My only intention is to show how Frontend Plugins, Action Helpers and init(), predispatch() and postdispatch() interact between them during the dispatch. The reason: I use an Action Helper to authenticate, and another for starting session, but I need to be sure "when" is the best time to do it, so I can load some classes in a controller before the session start.
I supposed it could be helpful for others as it is.
El 3 Nov 2008, a las 18:57, Matthew Ratzloff escribió:
It'd probably be good to have a sequence diagram of the entire MVC process in Zend Framework in the manual.-MattOn Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <oreales@gmail.com> wrote:
In my projects, normally I combine several Frontend Plugins, and Action Helpers to get a better scalabilty. Sometimes it is hard to decide "what" method/event to choose during the dispatch proccess. To help on it, I have prepared this graph that can help to take decissions on how combine all of them during the dispatch proccess:
http://surlandia.com/2008/11/03/zend-framework-plugins-action-helpers-and-controllers-life-cycle-during-dispatch/
没有评论:
发表评论