Tuesday, March 10, 2015

A Quick look at Zend Framwork 2

In our last tutorial, “Installing Zend Framework 2” we were able to get our application running without really bothering ourselves about the structure of the Framework. Now we are going to look at some basic concepts that drive the Framework. Among them are:-

  • MVC Implementation
  • Module System
  • Event System
  • Service System
  • Decoupling
  • Namespaces
  • Auto loading
  • PSR-2 Coding Standard


These are by no way the only concept in ZF2 but would help us to understand the structure and working of ZF2. Let me also say that you would definitely find the Framework manual very useful. You can read the manual at Read the document or at the Framework website.


If you open the folder of our website we created in the previous tutorial you would see the folders and files displayed in the picture below.


Our configuration files reside inside the config folder and each module we create will be saved inside the modules folder. The public folder contains folders for our css, font, img and js file. The vendor folder contains common library (the zend library are here too) and third party modules and all the framework files. We would talk about each of later in another tutorial. ZF2 implementation is our next tutorial.

No comments:

Post a Comment