Share on Google+Share on Google+

ZF Core Components

Advertisement
Core components of ZF provides full features of MVC (Model-View-Controller). In ZF there are three classes make the MVC system Zend_Controller (Controller),Zend_Db (Model), Zend_View (View). In this tutorial we will study about MVC design patterns.

Zend Frameworks Core Components:

Core components of ZF provides full features of MVC (Model-View-Controller). In ZF there are three classes make the MVC system Zend_Controller (Controller), Zend_Db (Model), Zend_View (View). Many developers around the world have agreed on this point that this well-defined separation is essential for keeping the code in an organized manner, especially when many developers are developing the same application.

MVC 

 

Model: This is the part where we define data access acts, business logics etc.

View: This is the representation part of application. Controllers pass data to each view to deliver  in some format. In this section in general we put the HTML coding and we may collect data from the user as well.

Controllers: Main task of controllers is to bind the Model and View section together. This section manipulates models and decide which view should be displayed as per the requirement, which data should be passed to a view section as well as to which controller the control should be handed over etc.

 

Advertisements

Advertisement

Posted on: April 22, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.