Chapter 2. Hello Zend Framework!

This chapter covers
  • An introduction to the Model-View-Controller design pattern
  • Zend Framework’s controller components
  • The Zend_View component
  • Databases as models

Before we can investigate in detail all the components of Zend Framework, we must get our bearings, and this is best done by building a simple website that uses the MVC) components. For a standard PHP application, the code to display the text “Hello World” constitutes just one line in one file:

<?php echo 'Hello World';

In this chapter, we will build a Hello World application using Zend Framework. We will also consider how to organize the website’s files on disk to make sure we can find what we are looking for, and we will look at Zend Framework ...

Get Zend Framework in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.