Zend Framework Tutorial

To run this framework you must first install one of the following web servers: LAMP (Linux, Apache, MySQL, PHP) or WAMP (Windows, Apache, MySQL, PHP). In this tutorial, we have tested the Zend Framework in both Linux and Windows environments.

What is the Zend Framework?

  • The Zend Framework is based on object-oriented PHP.
  • The Zend Framework uses the Model View Control (MVC) system.
  • The Zend Framework is open source code (Yes/No?).
  • The Zend Framework is one of the most popular framework.

A Zend Framework Project Structure

  • application/ contains configurations, MVC (Models, Views and Controllers) system and Bootstrap.php file.
  • library/ houses the library/Zend/* folder which contains Zend Framework. When we have created a zf project we should copy the Zend directory in the Zend Framework library to our libray project. 
  • public/ contains our web root default page. This will be our website homepage.
  • tests/ contains application tests. These could be hand written, phpunit tests, selenium based tests or based on some other testing framework.

Some Zend Framework Components

  • Zend_View
  • Zend_Layout
  • Zend_Controller
  • Zend_Form
  • Zend_Db
  • Zend_Auth
  • Zend_Acl
  • Zend_Config
  • Zend_Debug
  • Zend_Loader
  • Zend_Mail
  • Zend_Session