sourceCode
This page contans links to the source code for the example used in “php|architect’s Guide to Programming with Zend Framework”. Each of these files contains a complete working copy of Zend Framework. These were checked out of the svn. If you have subversion installed on your machine, it should be possible to updated these to the latest nightly snapshot. WARNING: Zend Framework is a living entity and constantly changing. Updating the framework may break the example. I will do my best to keep these files up to date as major releases of Zend Framework come out.
- A single file containing all examples
- Example1.zip
- Example2.zip
- Example3.zip
- Example4.zip
- Example5.zip
- Example6.zip
- Example7.zip
- Example8.zip
- Example9.zip
- Example10.zip
How To Use
These zip files are snapshots of my development environment for each chapter. I used XAMPP to develop the examples on Windows. Here is the way I use them and I think you’ll find it pretty easy too. Note, this assume that you have Apache setup and working, that it’s root is htdocs and that the webroot is www. These are pretty standard but you will want to make sure you have it setup that way before beginning.
- Find your current htdocs and rename it htdocs.orig
- unpack an example file
- Rename the root directory of the example htdocs
If you’ve got everything setup correctly, that should be all you need to do. Example1.zip is the HelloWorld and the easiest to test with. Try it, if you can get it working, the others should fall into place.
Because it was requested, below is a link to the examples, sans the ZF in each one. This file is much smaller but is not a drop in like the ones above. Use this one if you know what you are doing.