or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
XML and PHP
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

XML and PHP [Paperback]

Vikram Vaswani (Author)
3.4 out of 5 stars  See all reviews (15 customer reviews)

Price: $39.99 & this item ships for FREE with Super Saver Shipping. Details
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more


Book Description

0735712271 978-0735712270 June 16, 2002 1

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)


Editorial Reviews

About the Author

Vikram Vaswani is the founder and CEO of Melonfire (http://www.melonfire.com), a company specializing in software consultancy, and content creation and syndication services.

Vikram is also the author of numerous well-received articles on open-source technologies (including Perl, Python, XML, and the very popular PHP 101 series), all written with the goal of making complex technologies accessible and understandable to novice users. He has been developing software since 1995, was first introduced to PHP in 1998, and hasn't looked back since. His favorite activities include reading, sleeping, watching movies, playing squash, and fiddling with his PalmPilot.

These reviewers contributed their considerable hands-on expertise to the entire development process for XML and PHP. As the book was being written, these dedicated professionals reviewed all the material for technical content, organization, and flow. Their feedback was critical to ensure that XML and PHP fits our readers' need for the highest-quality technical information.

Zak Greant is lead developer for 51 Degrees North, and is the founder of the Foo & Associates programmer's cooperative. He leads the PHP Quality Assurance Team, and is an active contributor to the PHP documentation, mailing lists, and source code. (See http://www.zend.com/comm_person.php?id=56 for his PHP community profile.)

Mark Nenadov is a bright, young software developer living in Canada (he does not reside in an igloo or speak French, however). Mark specializes in Open Source technology, and has lots of experience with technologies such as PHP, XML, MySQL, and Python. He is currently employed at a growing e-commerce company in Windsor, Ontario. When he isn't hunched over his keyboard, he is usually trying to learn new things, playing ice hockey, writing, reading books, and wishing it were a bit warmer in Canada.

Excerpt. © Reprinted by permission. All rights reserved.

Introduction

Introduction

"There are more things in heaven and earth, Horatio, Than are dreamt ofin your philosophy."

~William Shakespeare, Hamlet

Unless you've been doing a Rip Van Winkle for the past few years,you've heard about PHP and XML.

Probably not in the same context, I'll grant you—one is, after all,a programming language for the web, whereas the other is a standard toolkit fordescribing data. Individually, they're both long-time sweethearts of thenotoriously fickle web community—PHP for its rapid application developmentcapabilities and XML for its capability to make data more useful by attachingdescriptive tags to it.

Although there is no shortage of information on either of these twotechnologies individually, there are very few resources that explain how to usethem in combination with each other. Which was exactly the problem I had about ayear ago, when I decided to use XML as one of the components of a web-basedproject I was working on. PHP was my development language of choice. (I'dlong since given up on Perl and JSP.) Although I knew very little about how PHPand XML could be integrated with each other, I blithely assumed that the web,with its gargantuan knowledge bases, would have more than enough information tohelp me complete the project.

Imagine my horror, then, when I was able to find only the sketchiestinformation on the topic, despite hours spent tapping different permutations of"php xml development" into Google's search box. With time runningout, I decided to go to plan B: I printed a copy of the XML and XSL specs,stocked up on microwave dinners, and started experimenting with PHP'sbuilt-in XML functions.

I soon realized that combining PHP with XML wasn't hard at all—infact, it was pretty easy. Before long, I had worked out the basics of the SAXand DOM functions, installed my own copy of the XSLT extension, and figured outjust what I needed to do to deliver the project on time. All it took waspatience, a little research . . . and a lot of time.

In the highly competitive world of web development, in which contracts oftenturn on how quickly a project can be executed, time is a valuable commodity.Working with picky customers against aggressive deadlines is stressful enoughfor most developers; having to spend most of the day on research, rather thanimplementation, isn't likely to make their day any sunnier. And so, one ofmy most important reasons for writing this book was that it might serve as astarting point and reference for other developers looking to build XML- andPHP-enabled web applications.

This book is the book I wish I'd had a year ago. It includes detailedexplanations of PHP's XML extensions, together with illustrations of usingPHP to parse, validate, and transform XML markup. I've also discussed,among other things, how to traverse XML data trees, exchange data between webapplications, overlay remote procedure calls over HTTP, and use free open-sourcetools to add new capabilities to your XML/PHP applications. You can read it allthe way through, or use it in traditional cookbook style, flipping it open tothe chapter that addresses your specific problem. Either way, I hope you find ituseful, informative, and (dare I say it?) fun.

Over the past year, I've written a few articles on how XML and PHP canbe used together, and I've even given a couple of presentations on thetopic. From the feedback I've received, it seems that there are still many,many people—developers, consultants, educators, webmasters, systemsengineers, or just good ol' PHP enthusiasts—who would love to know howXML and PHP can be combined together, but don't know where to start.

If you're one of those people, this book is for you.



Product Details

  • Paperback: 384 pages
  • Publisher: Sams; 1 edition (June 16, 2002)
  • Language: English
  • ISBN-10: 0735712271
  • ISBN-13: 978-0735712270
  • Product Dimensions: 9 x 7 x 0.8 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #2,217,764 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

15 Reviews
5 star:
 (5)
4 star:
 (4)
3 star:    (0)
2 star:
 (4)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

40 of 47 people found the following review helpful:
2.0 out of 5 stars A questionable book..., August 14, 2002
By 
Xi Chi (San Fransisco) - See all my reviews
This review is from: XML and PHP (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 9 people found the following review helpful:
2.0 out of 5 stars dissapointed, January 9, 2005
This review is from: XML and PHP (Paperback)
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.
http://www.xmlphp.com/
check it yourself, no updates, the forum is closed.
why did i buy this book?
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
2.0 out of 5 stars Out of Date, June 12, 2004
By 
Phillip Glau "Phil Glau" (Los Angeles, CA United States) - See all my reviews
(REAL NAME)   
This review is from: XML and PHP (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject