Php and xml book

XML and PHP

XML and PHP

Read it now on the O’Reilly learning platform with a 10-day free trial.

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

Book description

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.

Table of contents

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

    Product information

    • Title: XML and PHP
    • Author(s): Vikram Vaswani
    • Release date: June 2002
    • Publisher(s): Sams
    • ISBN: 0735712271

    Источник

    Pro PHP XML and Web Services

    Book cover

    This is a preview of subscription content, access via your institution.

    Table of contents (21 chapters)

    Front Matter

    Introduction to XML and Web Services

    XML Structure

    Validation

    XPath, XPointer, XInclude, and the Future

    PHP and XML

    Document Object Model (DOM)

    SimpleXML

    Simple API for XML (SAX)

    XMLReader

    Extensible Stylesheet Language Transformations (XSLT)

    Effective and Efficient Processing

    XML Security

    PEAR and XML

    Content Syndication: RSS and Atom

    Web Distributed Data Exchange (WDDX)

    XML-RPC

    Representational State Transfer (REST)

    SOAP

    Universal Description, Discovery, and Integration (UDDI)

    About this book

    Pro PHP XML and Web Services is the authoritative guide to using the XML features of PHP 5 and PHP 6. No other book covers XML and Web Services in PHP as deeply as this title. The first four chapters introduce the core concepts of XML required for proficiency, and will bring you up to speed on the terminology and key concepts you need to proceed with the rest of the book. Next, the book explores utilizing XML and Web Services with PHP5. Topics include DOM, SimpleXML, SAX, xmlReader, XSLT, RDF, RSS, WDDX, XML-RPC, REST, SOAP, and UDDI.

    Author Robert Richards, a major contributor to the PHP XML codebase, is a leading expert in the PHP community. In this book, Richards covers all topics in depth, blending theory with practical examples. You’ll find case studies for the most popular web services like Amazon, Google, eBay, and Yahoo. The book also covers XML capabilities, demonstrated through informative examples, in the PEAR libraries.

    Keywords

    • DOM
    • Extensible Stylesheet Language (XSL)
    • PHP
    • Processing
    • REST
    • Web Services
    • Windows
    • XML
    • XSL
    • XSLT

    About the author

    Robert Richards, an independent contractor, has worked in various fields including medical information, telecommunications, media and e-learning. Having been exposed to XML since its inception and used it for various projects during his career, his most extensive work with the technology was within the e-learning space. He helped created a proprietary XML based application server which used XML for data publishing, defining application business logic as well as data querying. He was also the lead engineer for the company?’s involvement in SCORM (Shareable Content Object Reference Model), used for Web-based learning, established by the U.S. Department of Defense through its Advanced Distributed Learning (ADL) initiative. After becoming the latest casualty of the dot-com implosion in 2001, Rob had his first taste of PHP and began contributing code to the domxml extension in 2002. Since then, he has become one of the authors of the DOM extension for PHP 5, contributes to the other XML based extensions and has authored the xmlReader, for PHP 5, and xmlwriter, for PHP 4.3+, extensions. Also on occasion, he contributes bug fixes to the libxml2 project found during the development of these extensions.

    Bibliographic Information

    • Book Title : Pro PHP XML and Web Services
    • Authors : Robert Richards
    • DOI : https://doi.org/10.1007/978-1-4302-0139-7
    • Publisher : Apress Berkeley, CA
    • eBook Packages : Professional and Applied Computing , Professional and Applied Computing (R0) , Apress Access Books
    • Copyright Information : Robert Richards 2006
    • Hardcover ISBN : 978-1-59059-633-3 Published: 28 March 2006
    • Softcover ISBN : 978-1-4842-2015-3 Published: 23 August 2016
    • eBook ISBN : 978-1-4302-0139-7 Published: 05 February 2007
    • Edition Number : 1
    • Number of Pages : XV, 920
    • Topics : Web Development , Software Engineering

    Источник

    Want to check out an issue? Sign up to receive a special offer.

    XML Parsing with PHP

    Parse XML data with ease.

    Since its introduction in 1998, XML has become an indispensable technology for exchanging data and operating across heterogeneous systems. Whether you’re sharing calendar events, importing syndication feeds, or querying an external API, XML is usually one of the formats available for consumption.

    Early versions of PHP provided extensions for working with XML, but it wasn’t until the introduction of SimpleXML, DOM, XMLReader, and XMLWriter in PHP 5 that working with XML was streamlined. XML Parsing with PHP, edited and produced by php[architect], provides a comprehensive survey of the classes and functionality available for working with XML. This edition covers parsing and validating XML documents, leveraging XPath expressions, and working with namespaces as well as how to create and modify XML files programmatically. Each chapter contains examples illustrating how to use the different XML extensions at your disposal.

    Written by PHP professional John M. Stokes, this book provides an easy-to-use reference for working with XML.

    Topics Covered

    • SimpleXML
    • DOM
    • XMLReader & XMLWriter
    • XML Basics
    • Namespaces in XML documents
    • Working with syndication feeds
    • REST, SOAP, and WSDL
    • Validation with DTDs, RelaxNG, and XML Schema

    About the Author

    John M. Stokes is the lead developer on Verizon Wireless’s West Area Data Tools team, supporting users across the western United States. In that role he develops web applications, performs data analysis, and administers 30 Linux servers. He is a Zend Certified Engineer in PHP5, MySQL 5 Certified Developer, and Red Hat 6 Certified System Administrator. In addition to his work for Verizon, he developed the PDF Reader PEAR project for importing raw data from PDF files, and develops Android applications. He’s married with two children, and has a black belt in karate.

    Book Details

    Title XML Parsing with PHP
    ISBN 978-1940111162
    Pages 218
    Digital Formats PDF, ePub, Mobi
    Author John M. Stokes
    Date Published April 23, 2015
    Print Dimensions 7.5″ x 9.2″
    Language English

    We’re sorry, but your session has expired due to inactivity. Please use your browser to refresh this page and log in to our system again.

    Источник

    Читайте также:  Структура for в питоне
Оцените статью