views:

41

answers:

1

Hi Need to confirm Zend Framework Hierarchy of Objects ,

  • Zend_Application has a Property Object Bootstrap
  • Bootstrap has a Property Object Zend_Controller_Front inside
  • Zend_Controller_Front has nested Objects like Request , Response , Plugins and also a dispatcher() method through dispatcher Interface
  • When Zend_Front_Controller's dispatch() method is called a Controller Method is called as viewed in Request Object.
  • Now, Zend_Controller_Action has a Variable called $view which stores the Name of the PHTML Script
  • Now , Zend_Controller_Action has a render() which basically does include() for the given PHTML Script
  • When everything is done by PHP Interpretor , the Response comes back to Browser

Did I get it right , If not please correct

Thanks

+3  A: 

This is explained at

Usually I do not like pointing to external resources without giving a few words to it, but to explain what's going on is too much to type in my own words, so bear with me on this one.

If the explanation at the given links dont suffice, you could install XDebug and step through the execution flow if you want to know all the nittygritty details.

Gordon