ZF Core Components


 

ZF 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). In this tutorial we will study about MVC design patterns.

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.

 

Ads