Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Pro Zend Framework Techniques: Build a Full CMS Project (Expert's Voice) 2010th Edition
Use the Amazon App to scan ISBNs and compare prices.
Featured Open Source Titles
Check out these featured titles from O'Reilly Media and Distributed Publishers.
Customers Who Bought This Item Also Bought
Top Customer Reviews
The author spends multiple chapters on the same exact CRUD (create, read, update, delete) functionality in each controller. Very little additional information is given when new features are added.
All in all, the biggest complaint, and the reason this is rated 2 stars as opposed to 4, is you simply can not follow the code in the book. I did a quick run through of my notes after finishing the book and came to the conclusion that 1 in 4 code samples contains at least 1 critical error. From misspellings, to incorrect class names, to missing syntax, to functions that don't exist; You will be spending hours upon hours just trying to figure out why your script isn't working! And to top it off, the publisher has not yet added a single errata (I personally have submitted at least 20).
Another complaint is the sample code is not broken up into chapters, but instead provides only the final product. This is somewhat useless when working through the book systematically. I worry that this added layer of complication and frustration may drive many away from using Zend Framework as a person could easily mistake problems in the sample code with problems of the framework.
To wrap it up, this book was a rushed, weakly thought out attempt at covering the beast that is Zend Framework. I highly recommend you look elsewhere.
The other issue, as Travis points out, is repetition. After building a few CRUD actions there really isn't any need to to show more basic CRUD code samples later in the book. Instead, discussing subjects covered or alternate approaches in a bit more detail would have been more valuable for readers.
If you need to build your first CMS and are looking for a good example of how to do so with the Zend Framework, I'd recommend this book despite the editing errors. If you're a seasoned developer, I'd look elsewhere.
That said, I learned a lot in this book and had a lot of fun with it. For the most part if you have some experience with php and the Zend Framework you should be able to figure out the errors and fix them.
I'll briefly cover what I think is the heart of the book.
This book uses direct inheritance as it is simple and easy to implement versus lets say composition. For example, by using direct inheritance, if you have a Page Model, then you would directly extend from the data source gateway class.
eg. class Model_Page extends Zend_Db_Table_Abstract
The disadvantages of this are it is hard to run unit test without a database connection. Breaks OO inheritance principle (if your concerned about that) and is tightly coupled with Zend_Db_Table.
The author notes that there are a number of different opinions regarding the structure of an MVC application. He states that the approach he describes is a fat controller approach.
But after building the application it seems to me he is using a Fat Model skinny Controller for the business logic in the application stack. The methods and queries are done in the Model not the Controller.
Doing this allows for code reuse anywhere in the application, readability is enhanced and maintainability is easier as the Controller is easier to maintain with fewer lines of code and less logic contained in it.
What I really like about the application you build, is the authors use of an abstract data structure. Abstract data structures look at content in a contrastive way. In an abstract system content is content.Read more ›
I use Apache running in Windows XP, and Zend framework version 10. There are minor fixes required. Of course, the errata page helps too.
To be honest, Zend framework is not for the faint-hearted. You need to know some PHP to begin with. Any beginner's guide to Zend framework actually assumes you are at least an intermediate user.
This is by far the most useful book on Zend I have worked on.
Most Recent Customer Reviews
A book for beginner to middle Professional, you can enhance your best practiques techniques in zend framework, i recommend itPublished on October 7, 2013 by Osiris Rodriguez
It is my fault, for I assumed the book was for ZF2. Unfortunately, there are no books available for ZF2 at this point. Not sure why. Read morePublished on July 13, 2013 by Daniel Pegues
It's unfortunate that this book was allowed to go to print with so many errors. Unfortunate, because it's clear from reading the text, that the author does know his stuff. Read morePublished on July 30, 2012 by Stephen Brennan
Do not buy this book. It is filled with coding errors, and I could not get past the third chapter. I can't understand why the author could not try the code before he commits it to... Read morePublished on February 1, 2011 by ajn
The book is good but i think that the title does not fit the content. I buy the book especially for the "Pro" word, and it just covers all the beginners topics.Published on December 30, 2010 by Santiago Villegas
This is a great book for someone wanting to learn Zend Frameworks for the first time. This is NOT a book for someone that has experience in the Zend Framework. Read morePublished on June 24, 2010 by W. Webster
The idea behind this book was great, however it falls short of the mark due to the number of errors. Read morePublished on June 18, 2010 by Jack W. Mccullough
It is very difficult to follow along when examples contain naming errors. The book is literally riddled with typos, wrong file and class names, and (in only six months) outdated... Read morePublished on March 27, 2010 by Alastair Dallas
If you want to learn how to implement a site using the ZF, then this is your book. It is clear and readable and teaches you a lot of things: from database design to OOP. Read morePublished on March 20, 2010 by F. Cerquella Carcaño