O'Reilly logo

PHP Programming with PEAR by Stoyan Stefanov, Carsten Lucke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have learned how to use several PEAR packages that can be used when working with XML. XML_Util, XML_FastCreate, and XML_Serializer can be used to easily create generic XML documents without having to worry about the rules of well-formed XML documents or tag indentation. XML_XUL allows us to create applications for Mozilla-based browsers like Firefox using PHP. This allows us to share the business logic with standard web applications but exchange the front end of our applications with an XUL-based interface.

In the second half of the chapter we have learned how to build a SAX-based parser to read an XML-based configuration file and automatically ignore the parts of the XML document that are not important to us. We have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required