Streaming XML

Rob Richards (May 20, 2009)
Talk at php|tek 2009 (English - US)

Rating: 4 of 5

Although added during the PHP 5.1 series, XMLReader and XMLWriter are still relatively unknown extensions. Many developers are still using the traditional XML parsers, such as DOM, SimpleXML and XML to read and/or create XML documents, completely unaware of the benefits using XMLReader and XMLWriter could bring to a project. Find out how and why these extensions can not only make working with XML easy (yes, sometimes even easier than SimpleXML), but also provide better performance for your application.

Claim This Talk

 
Comments closed.

Comments

Rating: 4 of 5

May 21, 2009, 04:29 by jlleblanc

I learned quite a bit in this session and will definitely be reaching for XMLReader more. The only criticism I have is that the presentation seemed to dwell on topics a little long.

Rating: 3 of 5

May 27, 2009, 16:09 by philbert

Personally, I was looking for more specific examples.

It would probably require an entire "refactoring" of the presentation but I was thinking it would be good to see you take a real life example of XML document processing using XMLReader/XMLWriter and make that the central thread to the whole presentation.

You began talking about how XMLReader can help speed up reading pieces of the EBay WSDL - and was hoping that you were going to continue down the path of using an example like that through the rest of the presentation. More like: "Got problem 'A'? XMLReader can solve it like this: ... " or "Got problem 'B'? XMLWriter can solve it like this: ... ". Granted, that's my particular preference for a topic such as the one you presented on.

As noted above, the pacing was awkward - it dwelled on seemingly unimportant things for too long which caused me to lose focus at times.

© Joind.in 2010