Chapter 8. GENERATING XML FROM A DATABASE

GENERATING XML FROM A DATABASE

XML is a highly efficient way of sharing information between computers. It's platform-neutral and widely used for web services, such as news feeds. But typing out XML documents manually is both tedious and prone to mistakes. It's far better to store the information in a database and generate XML dynamically. That way, you can always be sure that the content is the most recently available. Moreover, all it takes to customize the structure of the XML is a change to the query you send to the database.

Because XML is intended for processing by computers, you need to be very careful to get the syntax right. Browsers ...

Get PHP Object-Oriented Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.