php|architect's Guide to Programming With Zend Framework
Title php|architect’s Guide to Programming With Zend Framework
ISBN-13 978-0-9738621-5-7
Author Cal Evans
Number of pages: 222
Learn to master the secrets of the Zend Framework with this new book from php|architect’s popular Nanobook series!
Written by Zend DevZone editor and well-known PHP expert Cal Evans, php|architect’s Guide to Programming with Zend Framework helps you understand the Zend Framework through a detailed roadmap into its features and functionality.
Try before you buy: unsure if this book is for you? Take a look at this completely free sample chapter!
This book covers much of the primary functionality offered by the Zend Framework, and works well both as a thorough introduction to its use and as a reference for higher-level tasks. The table of contents includes:
- Getting started
- The Model
- The Controller
- The View
- Data access
- Web services
- Authorizations
- Exceptions and error management
- Rich Internet Applications
- Hacking the framework: secret classes and advanced functionality
- Framework internals
- Tips & tricks
- The new Zend_Layout classes
With a rich, example-driven style and the trademark no-fluff approach to professional content, php|architect’s Guide to Programming with the Zend Framework belongs in your book collection!
Looking for the code samples from the book? Check out the website Cal Evans maintains in support of his book.


Comments
However, with the amount of typos, errors, and differences between the example code (which each example includes you downloading the Zend Framework all over again) and the examples in the book, it will likely confuse those who have no experience with the Zend Framework and be boggled when their code does not compile for what the init() function when it's mentioned in chapter 2, but not explained until chapter 3 (where they mention they it should have been mentioned in chapter 2 but wasn't).
Worth reading if you've played around with ZF and wanted to see an example usage for it.
It was worth it for me.
You can use the system quite alright with yoursite/index.php/controller/action/ .. url scheme. Just notice the index.php being part of the url. Otherwise it works just fine.
Hope this helps
I run my Zend Framework apps on IIS 6.0 (Windows Server 2003) with friendly URLs. I've successfully installed a free rewrite module called Ionic's ISAPI Rewrite Filter (see http://cheeso.members.winisp.net/IIRF.aspx). I then added the following rules to IsapiRewrite4.ini:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css)$)[\w\%]*$)? /index.php [I]
I then added this code to my bootstrap file (index.php):
// dont prepend /index.php to System-wide Redirects
$redirectHelper = Zend_Controller_Action_HelperBroker::getStaticHelper('Redirector');
$redirectHelper->setPrependBase(false);
It seems to work ok, I haven't had any trouble so far.
Cheers,
Rob