1 of 1 people found the following review helpful
Not quite what it claims to be,
Amazon Verified Purchase(What is this?)
This review is from: No Nonsense XML Web Development with PHP (Paperback)When I was given a copy of this book, I had high hopes for it. I had been looking for information about using PHP to work with XML data, and I hoped and expected that it would provide lots of practical information about using PHP and Xpath to manipulate XML, access its data, and use it in web pages.
I was disappointed to find just one chapter that is dedicated to such tasks, and it provided very little detail. Added to that is a very brief look at Xpath functions, a short appendix with a few SimpleXML functions, and an occasional moderately useful snippet of information here and there. A large part of this book comprises information that would be of little or no use to anyone who already knows how to write XML documents. If it were not for the inclusion of code for a very basic XML-driven CMS, this book should really have been titled something like "Beginning XML" and in that context, it would be quite effective.
This is all the more disappointing because good web tutorials about using SimpleXML and Xpath with PHP are very hard to find. Perhaps, with the ubiquity of MySQL-driven content management systems, the potential of XML as a data source has been overlooked somewhat. Which is a shame. Sometimes, a lightweight and customised solution is the best option.