Your Account | Cart Cart | Wish List | Help
BestsellersThe New York Times®
Best Sellers
Web Search
View CartWish ListYour AccountHelp
Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in .


Sign in to turn on 1-Click ordering. users save 1.57% on Amazon. Learn how.
Don't have one?
We'll set one up for you.
by Vikram Vaswani

(15 customer reviews)

List Price: $39.99
Price: $27.99 and this item ships for FREE with Super Saver Shipping. See details
You Save: $12.00 (30%)
Availability: Usually ships within 24 hours. Ships from and sold by
Only 3 left in stock--order soon (more on the way).

Better Together
Buy this book with Advanced PHP Programming by George Schlossnagle today!
XML and PHP plus Advanced PHP Programming
Total List Price: $89.98
Buy Together Today: $62.78

More to Explore

Editorial Reviews
Book Description
XML and PHP is designed to introduce PHP developers to the synergies that become visible when their favorite web-scripting language is combined with one of the most talked about technologies of recent times, XML. XML and PHP teaches PHP developers how to use PHP's XML functions to develop and maintain XML-based web applications and sites, and it demonstrates the power inherent in the XML/PHP combination. This book provides information on all hte major XML technologies supported in PHP, demonstrating how the XML/PHP combination can be used to deliver cutting-edge web applications through practical examples and real-world case studies. XML and PHP serves as both an implementation guide to the topic and a handy desktop reference for quick lookups-combining all the information that developers need into a single, focused package.

Book Info
A clear, concise guide to the synergies between XML and PHP, many of which are not immediately visible to intermediate developers. Demonstrates how PHP and XML can be combined to build cutting-edge Web applications. Softcover.

See all Editorial Reviews

Product Details
  • Paperback: 425 pages
  • Publisher: Sams; 1st edition (July 15, 2002)
  • Language: English
  • ISBN: 0735712271
  • Product Dimensions: 9.0 x 7.0 x 0.8 inches
  • Shipping Weight: 1.3 pounds. (View shipping rates and policies)
  • Average Customer Review: based on 15 reviews.
  • Sales Rank: #510,611 in Books
    (Publishers and authors: improve your sales)

Look Inside This Book
Browse Sample Pages:
Front Cover | Table of Contents | Excerpt | Index | Back Cover

Citations (learn more)
1 book that cites this book:

Spotlight Reviews
Write an online review and share your thoughts with other customers.

2 of 3 people found the following review helpful:

Good XML code and application examples in PHP, April 27, 2004
Reviewer:Jack D. Herrington "engineer and author" (Silicon Valley, CA) - See all my reviews
Chapters two and three start the book with good examples of SAX and DOM use in PHP respectively. This provides a solid foundation for the rest of the book which shows examples of popular XML based technologies as applied to PHP. These include XSLT (Sablotron), XML-RPC, SOAP, XML in databases and other topics. Each of these discussions contains some real world examples to provide context.

It's a short and concise book that is well written. The use of graphics could be more effective. For example the screenshot in figure 6.8 is a single line in a vast sea of whtie browser space. The code sample could use some annotation or at the very least some bolding to hi-light the important segments.

The value of this book will depend on the degree to which you use XML in the PHP context. If you want a quick booster rocket to get you into SAX or DOM work within PHP this book will do the trick since it's far better than the documentation on the PHP site.

Was this review helpful to you?  YesNo (Report this)

2 of 5 people found the following review helpful:

Covering every aspect of PHP and XML integration, January 22, 2003
Reviewer:Foti Massimo (Savosa Switzerland) - See all my reviews
Vikram Vaswani wrote a very focused book, covering every aspect of PHP and XML integration, with dedicated chapters on SAX and DOM parsers, XSL, WDDX, XML-RPC and SOAP. I think that PHP 4 is still lacking in the area of XML integration, but intermediate and advanced developers can still perform a lot of tasks using this combo. The book is clearly written; it covers a lot of different extensions and third party libraries with full code listings

Was this review helpful to you?  YesNo (Report this)

Customer Reviews
Average Customer Review:
Write an online review and share your thoughts with other customers.

4 of 4 people found the following review helpful:

dissapointed, January 9, 2005
Reviewer:J. Schirris "jarrasch" (netherlands) - See all my reviews
I've been reading the book, and had a feeling it explained a lot.
Finally, i could use it, but the code used is very outdated (01-2005). That's why i visited their website.
as the book refers to the site often.
check it yourself, no updates, the forum is closed.
why did i buy this book?

Was this review helpful to you?  YesNo (Report this)

3 of 3 people found the following review helpful:

Out of Date, June 13, 2004
Reviewer:"filmo_the_klown" (Los Angeles, CA United States) - See all my reviews
I've been reading this book recently (6/11/2004). With regards to DOM and XML, it's very out of date given the current development of PHP. Would advise newer, more up to date book if you're interested in DOM and XML.

Was this review helpful to you?  YesNo (Report this)

18 of 21 people found the following review helpful:

0 stars. This book is crap, December 8, 2002
Reviewer: A reader
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.

Was this review helpful to you?  YesNo (Report this)

34 of 41 people found the following review helpful:

A questionable book..., August 14, 2002
Reviewer:Xi Chi (San Fransisco) - See all my reviews
After all the flaky reviews this book has received, I was unsure if I was reading individual marketing campaigns sponsored by the various publishers or actual reviews. It seems that people cannot simply agree that this book is good or is bad as there is just nothing in between. Even in all the review cases, many people didn't find the reviews helpful, both positive and negative. It all seems complex from the consumer's perspective when deciding to buy this book.

So given all these statements, I thought I'd present a true review - one from an actual reader rather than from someone else. I think it's pretty safe to assume that this book is good for some people and bad for others. The problem is that the reviews already here have so much fluff that they didn't even begin to describe themselves, thus they could be ambitious or lazy, smart or dim, and hobbyist or entrepreneurs. There is simply no way of telling.

Personally, I think many of these concepts can be learned in PHP in about 2-3 days of trying the APIs out if you already know a great deal of XML. So if I'm going to buy a book on PHP and XML, I expect that it will provided added value information as well as design decisions, business concerns and best practices. Examples are not what I care about as much as the rich and deep information because there are many examples already on the web - no point acquiring the book just for those alone. That makes me question the reviewers who say the examples are clear and concise - the examples on the web already do that. Books are supposed to provide added value to these APIs and examples to make the topic complete and valuable to the reader. The book should also scale well to both beginning audiences (this book does very well) to expert audiences that want to drill through the basic information like APIs and examples and learn more advanced techniques, best practices, etc. This book doesn't deliver on these areas very well unfortunately.

So, for a person like me: This book receives 2 stars. I didn't learn all that much from it and I was disappointed to say the least. He's a good writer, funny at times, and knows what he is doing, but he also catered to a specific audience and it shows. Is that the goal? Probably. But I think the expert people shouldn't have expected too much (as I did) - that's the truth.

Although I personally give this book 2 stars, I believe that many beginner PHP programmers who have a little idea to what XML is will benefit from it. If you've already read some XML material on the net and even read a book or two, this book won't exactly help you out too much. However, this segment is rather small I would believe. I'm still looking for a book that I can give to my employees for reference as well as added value information. When I find it, I'll put a review there as well so you can compare.

So there you have it - an honest review. I hope it helps people out in their purchasing decisions.

Was this review helpful to you?  YesNo (Report this)

See all 15 customer reviews...


So You'd Like to...

This Book and You

Where's My Stuff?
• Track your recent orders.
• View or change your orders in Your Account.
Shipping & Returns
• See our shipping rates & policies.
Return an item (here's our Returns Policy).
Need Help?
• Forgot your password? Click here.
Redeem or buy a gift certificate.
Visit our Help department.
Search   for Home   |   Directory of All Stores

Our International Sites: Canada  |  United Kingdom  |  Germany  |  Japan  |  France  |  China

Contact Us   |   Help   |   Shopping Cart   |   Your Account   |   Sell Items   |   1-Click Settings

Investor Relations   |   Press Releases   |   Careers

Conditions of Use | Privacy Notice © 1996-2005,, Inc. or its affiliates