Zend Framework Quick Start

Set Up the Project Structure

Let's first create a basic MVC project structure for our application under the directory QuickStart:

QuickStart/ application/ controllers/ views/ scripts/ library/ public/

Since the public directory will contain all files that should be directly accessible via our web server, you must set your web server's document root to this directory. Please check your web server's documentation on how to do this.

Application URL

We will assume that your web server is running on your local machine and that your public directory is accessible at http://localhost/.

Project Structure

You can use the project structure that best suits your needs! You will soon discover that Zend Framework is very flexible, and the project structure for ZF applications is no exception. There is nothing special about the project structure above, except some of the MVC components we'll be using work without overriding defaults in this structure. See the Zend Framework Reference Guide for more information.



ZF & MVC Introduction
Download & Install ZF

Quickstart Downloads

Grab the QuickStart code for reference, or to start your project:

ZF Reference Guide - now in PDF!

The Zend Framework Reference Guide is now available in PDF format from Zend's high-speed content distribution network. Registration is required.

Documentation Archives

If you're looking for an older version of our reference guide, you'll find it in our download archives.