A free and open-source book on ZF3 for beginners


4. Model-View-Controller

In this chapter, you will learn about the models, views and controllers (the MVC design pattern). A web application uses the MVC pattern to separate business logic from presentation. The goal of this is to allow for code reusability and separation of concerns.

ZF3 components covered in this chapter:

Component Description
Zend\Mvc Support of MVC pattern. Implements base controller classes, controller plugins, etc.
Zend\View Implements the functionality for variable containers, rendering a web page and common view helpers.
Zend\Http Implements a wrapper around HTTP request and response.


Top