Front Plugins, Action Helpers and Controllers Init(), predispatch() and postdispatch() methods can be combined to get a more scalable Zend Framework Application. To combine all of them in a better maneer it is very important to get clear when is “fired” each of the different methods on each one. To clarify this, I have prepared this graph where it is shown when each method is fired during the dispatch proccess:

Zend Framework Action Helpers, Front Plugins and Controllers life-cycle during dispatch proccess

here you are a B&W version for color-blind people.


2 comentarios a “Zend Framework: Plugins, Action Helpers and Controllers life-cycle during dispatch”  

  1. Gravatar Icon 1 manuel

    Genial Oscar, gracias!

    viene muy bien para tenerla de referencia cuando estás programando un plugin.

  2. Gravatar Icon 2 Oscar Reales

    Thorsten Ruf share with us a completed dispatch proccess diagram, translated from the original in Deustche:

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

Deja una respuesta



Comparte este artículo

surlandia

comentados

Surlandia en tu email

Un email diario sólo cuando haya nuevas entradas

Gestionado por FeedBurner