This tutorial is intended to give an introduction to using Zend Framework to write a simple database driven application. It has been updated for version 1.10 of the framework and takes full advantage of the Zend_Tool command line script and Zend_Application for bootstrapping. Other components used include Zend_Controller, Zend_View, Zend_Db_Table and Zend_Form.
I have also written a tutorial on Zend_Auth.
This tutorial has been tested on version 1.10 and 1.11 of Zend Framework. It will not work on any version prior to version 1.10.
If you are deploying to a “user” site (e.g. http://localhost/~rob), then you need a RewriteBase line in your .htaccess file that looks something like: RewriteBase /~rob/zf-tutorial/public/.
Very kindly, these people have provided translations of this tutorial into other languages. Thank you!
Chinese version: Zend Framework 教程. Translated by Leefar.
Italian version: Introduzione allo Zend Framework. Translated by Mario Santagiuliana.
Polish version: Pierwsze kroki z Zend Framework. Translated by Radosław Benkel.
Portuguese version: Iniciando com o Zend Framework. Translated by Gilberto Albino.
Czech version: Začínáme se Zend Frameworkem. Translated by Martin Hujer.
French version: Débuter avec Zend Framework. Translated by Bernard Opic.
Spanish version: Introducción a Zend Framework. Translated by Alejandro Mohamad.
The associated code is available: