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.
1. XML and PHP Basics.
XML. PHP. PHP and XML. Summary.
SAX. PHP and SAX. Handling SAX Events. Controlling Parser Behavior. Using Native Data Structures. Handling Errors. A Few Examples. Summary.
Document Object Model (DOM). PHP and the DOM. Traversing the DOM with PHP's DOM Classes. Traversing the DOM with PHP's XPath Classes. Manipulating DOM Trees. DOM or SAX? Summary.
XSLT. PHP and XSLT. Handling Errors. Logging Processor Messages. Using Named Buffers. Passing Parameters to an XSLT Stylesheet. A Few Examples. Summary.
WDDX. PHP and WDDX. A Few Examples. Summary.
RPC. XML-RPC. SOAP. PHP and RPC. A Few Examples. Summary.
XML versus the Database. Exporting Database Records To XML. Importing XML Data into a Database. Summary.
Alternatives to PHP's Native Functions: What You Should Know. An Alternative PHP/DOM Implementation: eZXML. An Alternative PHP/XPath Implementation: PHP.XPath. An Alternative PHP/XML-RPC Implementation: XML-RPC for PHP. An Alternative PHP/SOAP Implementation: SOAPx4. Summary.
Metabase. patTemplate and patXMLRenderer. Summary.
Obtaining the Software. Compiling and Installing the Software. Testing the Software.
GNU General Public License (GPL). GNU Lesser General Public License (LGPL). Mozilla Public License. Version 1.1. BSD License.