Top critical review
0 stars. This book is crap
on December 7, 2002
I decided to purchase both Wrox's Professional PHP4 XML and New Rider's XML and PHP. Now, I'm not a dumb guy. I've been programming for awhile, but I'm still learning all the time. I like to build object oriented code in PHP as I believe it's the best way to go for several tasks (although not all). I'm still learning how to apply design patterns and the like and I find that very interesting. So when I pick up a book, I really want to see an author care about objects rather than putting all his code in the toilet - That's what this book does.
Even further, the examples are so basic and the chapters don't explain anything beyond those examples either. I'm surprised people found this book useful since everything is obvious that those university computer science monkeys who are still learning Windows can figure this book out.
But where are the best practices? Where are the examples used within an object oriented architecture? Do you think we are idiot programmers who only know how to code procedural programs that all reside within a single server page. Get real.
On the other hand, I was very impressed with the Wrox book. Although some of the intro chapters were fairly useless (since they covered intro to PHP concepts and so forth), the chapters talking about SAX, DOM, XSLT and XML-RPC are much better and totally outshine this book's counterparts. They even discuss Object oriented programs in all most cases and will provide you both versions a lot of the time! Even further, the Wrox book shows you various examples about solving common problems. I actually think the authors showed me all the potential problems you can have for that matter; they were pretty detailed, especially in the SAX and XSLT chapters.
After reading some of the reviews about XML and PHP, such as "This book doesn't suck" or Manual Lemos's review (a guy who contributes a lot of PHP code to the community) stating "this book was the best on PHP and XML available", it's obvious that they have ties to the author and want to see him succeed. Don't let them pull you in - this book isn't even worth the sympathy.
Xi Chi's review was right on the bull's eye. I should have listened to it and so should you. Avoid this book like the plague and get Wrox's PHP4 XML book instead.