Summary
This chapter took an in-depth look at the relationship between PHP, XML, and databases, and demonstrated how to encode database records as XML, and vice-versa. In an attempt to assist developers in choosing the appropriate technology for their specific requirements, it first evaluated the pros and cons of each approach, examining the two technologies vis-à-vis each other. Then, forsaking theory for in-depth, practical examples, it built on your knowledge of SAX, XSLT, and the DOM to illustrate how painless the conversion process is, and how many different ways there are to accomplish it.
And speaking of choice, you’ll be interested to hear that the next chapter offers you even more of it, exploring some of the alternatives available ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access