Prev | Current Page 5 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

This is shown in Figure 1.2.
Licensed to Menshu You
Please post comments or corrections to the Author Online forum at
http://www.manning-sandbox.com/forum.jspa?forumID=329
Figure 1.2: The organization of a typical MVC application
An application designed using MVC principles results in more files. Each file is specialized in what it does
which makes maintenance much easier. For example, all the code that makes database queries is stored in
classes known as Models. The actual HTML code is known as the View (which may also contain simple PHP
logic) and the Controller files handle the connection of the correct models to the correct views to display the
desired page.
The Zend Framework isn??™t the only option for organizing a website based on MVC principles; there are
many others in the PHP world. Let??™s look at what the Zend Framework contains and why it should be
considered.
1.2 Why use the Zend Framework?
As you have this book in your hands, you probably want to know why you??™d be interested in the Zend
Framework over all the other PHP frameworks out there. In a nutshell, the Zend Framework introduces a
standardized set of components that allow for easy development of web applications. These applications can be
easily developed, maintained and enhanced.


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
plecaki projektowanie ogrodów łódź Okna PCV Wrocław Kurs architektury wyprawy