25.09.2014 Views

ZEND PHP 5 Certification STUDY GUIDE

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9<br />

XML and Web Services<br />

Extensible Markup Language (XML) has become the format of choice for communication<br />

between disparate systems. Possibly its most common applications are the<br />

popular Really Simple Syndication (RSS) and Atom feed formats embraced by the<br />

blogging community for content syndication. However, XML is successfully used in<br />

many more instances to store arbitrary data in a well-structured way.<br />

Closely linked to XML, Web services have given rise to a new way of thinking about<br />

data. Web services provide a way by which any computer may exchange data with<br />

another using the web as a transport medium. Some Web services are free—indeed<br />

some companies are using free Web services as a convenient way to allow third parties<br />

to extend their products and enrich their business models—while others charge<br />

for their usage; some are complex, others are simple. Regardless, one thing is certain:<br />

Web services are changing the landscape of the Web.<br />

One of the most significant changes made in <strong>PHP</strong> 5 is the way in which <strong>PHP</strong> handles<br />

XML data. The underlying code in the <strong>PHP</strong> engine was transformed and rearchitected<br />

to provide a seamless set of XML parsing tools that work together and comply<br />

with World Wide Web Consortium (W3C) recommendations. Whereas <strong>PHP</strong> 4 used<br />

a different code library to implement each XML tool, <strong>PHP</strong> 5 takes advantage of a<br />

standardized single library: the Gnome XML library (libxml2). In addition, <strong>PHP</strong> 5 introduces<br />

many new tools to make the task of working with XML documents simpler<br />

and easier.<br />

Licensed to 482634 - Amber Barrow (itsadmin@deakin.edu.au)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!