Monday, 7 May 2012

Zend Framework

Zend Framework is an open source, object oriented web application framework for PHP 5. Zend Framework is often called a 'component library', because it has many loosely coupled components that you can use more or less independently.

The Zend Framework:-
a)is based on PHP
b)is object-oriented
c)uses the MVC paradigm
d)has open source contributors

Zend Framework  provides an advanced Model-View-Controller (MVC) implementation that can be used to establish a basic structure for your Zend Framework applications.

MVC design pattern is used to separate an application’s data, business logic, and presentation; doing so facilitates the creation of more maintainable, reusable, and testable code.


Model - Data access routines and some business logic can be defined in the model.

View - Views define exactly what is presented to the user. Views will collect data from the user and gives it to controller and conroller invokes the required model. Controllers pass data to each view to render in some format.

Controller - Controllers bind the whole pattern together. They manipulate models, decide which view to display based on the user's request and other factors, pass along the data that each view will need, or hand off control to another controller entirely.

No comments:

Post a Comment