Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

11 messages Options
Embed this post
Permalink
oreales

Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
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/
oreales

Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
Hi Daniel,

I have added a link at the bottom to a "B&W" version of the graph,  
with higher contrast.

http://surlandia.com/2008/11/03/zend-framework-plugins-action-helpers-and-controllers-life-cycle-during-dispatch/
http://surlandia.com/wp-content/uploads/2008/11/zf-dispatch-lifecycle-bw.jpg

Oscar Reales.

El 3 Nov 2008, a las 16:19, Daniel Freudenberger escribió:

> Hey Oscar,
>
> looks good to me but could you choose a different color for action  
> helpers
> or the controllers? I'm color-blind and it's really hard for me to
> distinguish between these both :)
>
> With kind regards,
> Daniel
>
> -----Original Message-----
> From: Oscar Reales [mailto:[hidden email]]
> Sent: Monday, November 03, 2008 4:14 PM
> To: [hidden email]; [hidden email]
> Subject: [fw-mvc] Graph showing Action Helpers, Plugins and  
> Controllers
> lifecycle along dispatch
>
> 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-co
> ntrollers-life-cycle-during-dispatch/
>

Matthew Ratzloff

Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
In reply to this post by oreales
It'd probably be good to have a sequence diagram of the entire MVC process in Zend Framework in the manual.

-Matt

On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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/

oreales

Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
It wasn´t my intention to reproduce all the "dispatch" cycle. As Mattew states, there is one in someplace. 

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.

-Matt

On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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/


weierophinney

Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
In reply to this post by Matthew Ratzloff
-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):
> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)

> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/
Matthew Ratzloff

Re: Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
Well, I see a flow chart (zend.controller.basics.png), but no sequence diagram.  Both are useful to understand the sequence of events.

There's only one person who's familiar enough with the entire process to make one without taking a day to do it.  ;-)  Anyway, it was just a suggestion.

-Matt

On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney <[hidden email]> wrote:
-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):
> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)

> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/

Tobias Gies

Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
Hi everyone,

Thorsten "saphir2k" Ruf from the German ZF forums made a nice flow diagram of the ZF dispatch process about a year ago. It's in German, but if there is some interest, We could of course ask him to release the source document into the open-source world and create an English version as well.

You can find the German version here: http://nethands.de/download/zenddispatch.pdf

Best regards
Tobias

2008/11/3 Matthew Ratzloff <[hidden email]>
Well, I see a flow chart (zend.controller.basics.png), but no sequence diagram.  Both are useful to understand the sequence of events.

There's only one person who's familiar enough with the entire process to make one without taking a day to do it.  ;-)  Anyway, it was just a suggestion.

-Matt


On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney <[hidden email]> wrote:
-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):
> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)

> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/


Ramon de la Fuente

Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
I third that!
(don't read this out loud)

Whitcraft, Jon wrote:

>
> I second that!
>
>  
>
> php5_zce_logo_new <http://zend.com/zce.php?c=ZEND002524&r=219549271>
>
>
>
> Jon Whitcraft
> Indianapolis Motor Speedway
> [hidden email] <mailto:[hidden email]>
>
> P: (317) 492-8623 - F: (317) 492-6419
>
>
>  
>
> *From:* Grotevant, Paul F [mailto:[hidden email]]
> *Sent:* Tuesday, November 04, 2008 9:33 AM
> *To:* Tobias Gies; Matthew Ratzloff
> *Cc:* fw-mvc; [hidden email]
> *Subject:* Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing
> Action Helpers, Plugins and Controllers lifecycle along dispatch
>
>  
>
> Just speaking for myself, it would be fabulous to have that in English.
>
> Thanks,
> Paul
>
>
> On 11/4/08 2:42 AM, "Tobias Gies" <[hidden email]> wrote:
>
> Hi everyone,
>
> Thorsten "saphir2k" Ruf from the German ZF forums made a nice flow
> diagram of the ZF dispatch process about a year ago. It's in German,
> but if there is some interest, We could of course ask him to release
> the source document into the open-source world and create an English
> version as well.
>
> You can find the German version here:
> http://nethands.de/download/zenddispatch.pdf
>
> Best regards
> Tobias
>
> 2008/11/3 Matthew Ratzloff <[hidden email]>
>
> Well, I see a flow chart (zend.controller.basics.png
> <http://framework.zend.com/manual/en/figures/zend.controller.basics.png>
> ), but no sequence diagram.  Both are useful to understand the
> sequence of events.
>
> There's only one person who's familiar enough with the entire process
> to make one without taking a day to do it.  ;-)  Anyway, it was just a
> suggestion.
>
> -Matt
>
>
> On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney
> <[hidden email]> wrote:
>
> -- Matthew Ratzloff <[hidden email]> wrote
> (on Monday, 03 November 2008, 09:57 AM -0800):
> > It'd probably be good to have a sequence diagram of the entire MVC
> process in
> > Zend Framework in the manual.
>
> There is one. The only thing missing from it are the action helpers.
>
> You offering to make one? ;)
>
> > On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
> >     /
>
> --
> Matthew Weier O'Phinney
> Software Architect       | [hidden email]
> Zend Framework           | http://framework.zend.com/
>
>  
>
>  
>
>
> --
> Paul Grotevant / Web Technologies Team
> ITS Applications / University of Texas at Austin
> [hidden email]
> 512-471-1616
>
>
> ********************
> ********************
> This E-mail (and attachments) may contain confidential/privileged
> information intended only for the named addressee(s). If you are not
> an intended recipient, do not read, copy, disseminate or take any
> action based on the content of this E-mail. Please notify the sender
> by reply E-mail and erase this E-mail from your system. Your
> assistance is appreciated. E-mail transmission may not be secure or
> error-free. The company is not responsible for any loss/damage arising
> from any virus transmitted.
> ********************
> ********************

Thorsten Ruf

AW: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
In reply to this post by Tobias Gies
Some javascript/style in this post has been disabled (why?)

Hi,

 

thanks Tobias for posting the link to my flow diagram. I personaly missed such a document

as i started with ZF one year ago, so i created this one. After finishing i finaly understood all Helper, Plugins, … ;-)

 

Maybe we can improve together some details of the document.

 

It’s no problem to make a english version. I give a short reply when finishing.

 

Best regards

Thorsten (saphir2k)

 

Von: Tobias Gies [mailto:[hidden email]]
Gesendet: Dienstag, 4. November 2008 09:42
An: Matthew Ratzloff
Cc: [hidden email]; [hidden email]
Betreff: Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

 

Hi everyone,

Thorsten "saphir2k" Ruf from the German ZF forums made a nice flow diagram of the ZF dispatch process about a year ago. It's in German, but if there is some interest, We could of course ask him to release the source document into the open-source world and create an English version as well.

You can find the German version here: http://nethands.de/download/zenddispatch.pdf

Best regards
Tobias

2008/11/3 Matthew Ratzloff <[hidden email]>

Well, I see a flow chart (zend.controller.basics.png), but no sequence diagram.  Both are useful to understand the sequence of events.

 

There's only one person who's familiar enough with the entire process to make one without taking a day to do it.  ;-)  Anyway, it was just a suggestion.

 

-Matt

 

On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney <[hidden email]> wrote:

-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):

> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)


> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/

 

 

Thorsten Ruf

AW: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
In reply to this post by Tobias Gies
Some javascript/style in this post has been disabled (why?)

Hi everybody,

 

i translated the document to english and fixed some minor bugs.You can download the pdf from  

http://nethands.de/download/zenddispatch_en.pdf.

Please report any typos or errors to me, i will fix it as soon as possible.

 

Best regards,

Thorsten

 

 

Von: Tobias Gies [mailto:[hidden email]]
Gesendet: Dienstag, 4. November 2008 09:42
An: Matthew Ratzloff
Cc: [hidden email]; [hidden email]
Betreff: Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

 

Hi everyone,

Thorsten "saphir2k" Ruf from the German ZF forums made a nice flow diagram of the ZF dispatch process about a year ago. It's in German, but if there is some interest, We could of course ask him to release the source document into the open-source world and create an English version as well.

You can find the German version here: http://nethands.de/download/zenddispatch.pdf

Best regards
Tobias

2008/11/3 Matthew Ratzloff <[hidden email]>

Well, I see a flow chart (zend.controller.basics.png), but no sequence diagram.  Both are useful to understand the sequence of events.

 

There's only one person who's familiar enough with the entire process to make one without taking a day to do it.  ;-)  Anyway, it was just a suggestion.

 

-Matt

 

On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney <[hidden email]> wrote:

-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):

> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)


> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/

 

 

saphir2k

Re: AW: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

Reply Threaded More More options
Print post
Permalink
I uploaded a new english version of the sheet with many suggestions from all of you.

http://nethands.de/download/zenddispatch_en.pdf.

Best regards,
Thorsten Ruf

On Mon, Nov 17, 2008 at 21:59, Thorsten Ruf <[hidden email]> wrote:

Hi everybody,

 

i translated the document to english and fixed some minor bugs.You can download the pdf from  

http://nethands.de/download/zenddispatch_en.pdf.

Please report any typos or errors to me, i will fix it as soon as possible.

 

Best regards,

Thorsten

 

 

Von: Tobias Gies [mailto:[hidden email]]
Gesendet: Dienstag, 4. November 2008 09:42
An: Matthew Ratzloff
Cc: [hidden email]; [hidden email]
Betreff: Re: [fw-mvc] Re: [fw-core] Re: [fw-mvc] Graph showing Action Helpers, Plugins and Controllers lifecycle along dispatch

 

Hi everyone,

Thorsten "saphir2k" Ruf from the German ZF forums made a nice flow diagram of the ZF dispatch process about a year ago. It's in German, but if there is some interest, We could of course ask him to release the source document into the open-source world and create an English version as well.

You can find the German version here: http://nethands.de/download/zenddispatch.pdf

Best regards
Tobias

2008/11/3 Matthew Ratzloff <[hidden email]>

Well, I see a flow chart (zend.controller.basics.png), but no sequence diagram.  Both are useful to understand the sequence of events.

 

There's only one person who's familiar enough with the entire process to make one without taking a day to do it.  ;-)  Anyway, it was just a suggestion.

 

-Matt

 

On Mon, Nov 3, 2008 at 10:22 AM, Matthew Weier O'Phinney <[hidden email]> wrote:

-- Matthew Ratzloff <[hidden email]> wrote
(on Monday, 03 November 2008, 09:57 AM -0800):

> It'd probably be good to have a sequence diagram of the entire MVC process in
> Zend Framework in the manual.

There is one. The only thing missing from it are the action helpers.

You offering to make one? ;)


> On Mon, Nov 3, 2008 at 7:13 AM, Oscar Reales <[hidden email]> 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
>     /

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/