O'Reilly logo

Zend Framework 1 to 2 Migration Guide by Bart McLeod

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Model View Controller

Here we go, our first design pattern. Zend Framework offers a Model View Controller (MVC) implementation, but it is also possible to use ZF without using its MVC infrastructure. MVC is about separating Views (V) from business logic that is encapsulated in Models (M) and the interaction between the two via (C—Controllers). The goal is to provide components that are more reusable and easier to test.

ZF, unlike other frameworks at the time, did not tightly couple to the M in MVC. In the ZF philosophy, you, the developer, are the only one who can decide what your business model is about and hence what it’s going to look like. ZF developers do not want to make assumptions about that, and because of that, they offer no model ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required