XML Processing with Perl, Python, and PHP

XML Processing with Perl, Python, and PHP
Authors
Martin C. Brown
ISBN
0782140211
Published
21 Nov 2001
Purchase online
amazon.com

Aimed at experienced programmers, Processing with Perl, Python, and PHP is a guide to processing XML with popular scripting languages. The author is a strong advocate of script, as opposed to C++ or Java, on the grounds of speed of development, ease of use, and cross-platform support. With explanations and examples, he shows how to parse XML using Perl, Python, or PHP and offers brief notes on other scripting languages.

Page 1 of 2
  1. Editorial Reviews
  2. Customer Reviews

Editorial Reviews

Aimed at experienced programmers, Processing with Perl, Python, and PHP is a guide to processing XML with popular scripting languages. The author is a strong advocate of script, as opposed to C++ or Java, on the grounds of speed of development, ease of use, and cross-platform support. With explanations and examples, he shows how to parse XML using Perl, Python, or PHP and offers brief notes on other scripting languages. To make sense of the book, readers need to be already familiar with the script language of their choice, and to a lesser extent with XML itself.

The opening chapters offer a brief introduction to XML and DTD (Document Type Definition) files and explain the basic concepts of parsing XML using event-driven or tree-based APIs. Next comes a long section on XML and Perl, covering the XML::Parser module, Perl and Unicode, generating and converting XML, and using SOAP or XML-RPC. A parallel section shows how the same things can be achieved with XML and Python, and there's a further chapter on Zope, the Python application server. PHP has a shorter section, focusing on XML parsing, working with RSS (Rich Site Summary) XML documents, and XML-RPC. The last part of the book offers a chapter each on four other scripting languages: REBOL, Ruby, Tcl, and AppleScript.

The snag with this book is that few developers work with all these languages, and covering so many limits the detail on any one. Even so, it is interesting to compare the differences between the various approaches, particularly between Perl and Python, which are the author's main area of expertise. There are also helpful insights on how to convert XML to and from database formats. --Tim Anderson, Amazon.co.uk

-The only book that focuses on the usage of XML with the most popular scripting languages, including Perl, Python, PHP, Ruby, Rebol, TCL, and Mac OS X's AppleScript.
-Complete coverage of the core XML processing issues, including the basics of parsing XML documents, converting XML to and from different formats and translating objects for use with databases.
-This book goes beyond the basics into advanced topics, such as using the SAX API for Perl, and using SOAP and XML-RPC to share XML formatted information over a network connection.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook