28 of 28 people found the following review helpful
Every experienced PHP programmer should have this book,
This review is from: Php Developer's Cookbook (Paperback)
I stumpled upon this book by accident, and only after 10 minutes of reading, I just had to get it. The book is targeting at experienced php programmers, and assumes good grasp of php and its functionalities. Unless you are have gone through at least one other book (like Wrox's PHP programming) and have had some serious project, you may not fully understand the need for some of these techniques.
For example, php has specific functions written for each database. This cause portability problem of the code when switching databases. We all know a databases API is badly needed, and quite a few books have touched on this topic, but none which actually go through the code and explain in detail how they work, how database wrappers are created and used. Another example is the session handlers. Almost every php book includes a chapter on session, and briefly mentions how we can write our own session handlers, but they read more like a reference book. PHP developer's cookbook, again, actually take you through the steps of create them and how to incoporate them into your scripts. Other examples in this book include: how to interface with other programs and languages(sockets, COM, Java methods and classes). How to work with php images functions, php XML functions, ZEND API.
Again, I wish I have found this book ealier, it would have saved me a bunch of headache and time. I truely suggest this book to any experienced PHP programmers out there.