Zend Framework is a web based application which is developed for PHP. Zend is an object oriented and makes use of Model-View-Controller architecture paradigm. Current version of Zend Framework is 2, which takes advantage of features available in newer release of PHP programming language like closures and namespaces.
Key Zend Framework Principles
Fully Object Oriented
Object Orientation is a way to design a software system like data and functionality are tied together in a logical unit which is called “Objects”.
Rather than assigning data which represents concrete things to a number of series of independent variables, and writing bunch of functions which manipulates data, Object Orientation combines data which belongs to an object with functions that object carry out.
As an example, if there is a blog post object which includes post related functions and data. Changes to data and functions of object, both are handled by object itself.
Model – View – Controller Architecture
Model View Controller application is an application architecture style which separates program’s code in three basic areas:
Model Codeimplements data design of application and interacts with database. View Code implements display from system to outside consumers, whether computer systems or human users.
Controller Code implements an application business logic and shuttles the information between Model and View.
Zend Framework built up with Model-View-Controller architecture in mind, making this compliant with some recognized best practices. This conforms to pattern which is used in popular development frameworks for programming languages, like Ruby on Rails and Django for Python.
Zend Framework is designed for high degree of modularity, which allows web developers to use those components which they need this application.
In fact, there isn’t a core framework with optional module, as expected. This framework is a series of modules which are designed to be used independently, but this can be combined to make fully featured application framework.
Functions are coded in similar way throughout the framework, programming API uses a consistent styling. This approach is new in second edition of Zend Framework, and makes much more easier.