For this migration guide, I will assume that you are using ZF1 as an MVC application (more about MVC in the next chapter) and that you also intend to use ZF2 that way.
The way MVC has implemented changes in ZF2, there is less magic going on. Many things that happened magically in ZF1 are carried out explicitly in ZF2. An example of this is how your application loads its view helpers. In ZF1, if you put them in the
helpers directory, under your
views directory, the application would auto-magically find them. In ZF2, you have to tell the application how to create your view helpers by configuring each one explicitly. In short, magic has been replaced by configuration.
ZF2 is built around the concept ...