Perl-Sensitive Sunglasses | |
PerlMonks |
Item Description: Intermediate introduction to XML using Perl modules.
Review Synopsis: Solid new entry in the field.
“This book is not intended to be your first book on programming, and it is not going to teach you Perl or XML. We assume that the reader has a basic programming knowledge of Perl and an understanding of XML. Our task is to show you how to use these two technologies together. ”
Perhaps someone a bit more picky than I would have suggested that if the authors were serious about the 'basic knowledge and understanding' thing then they should have skipped chapter 1---since it is a brief survey of both Perl and XML. I just look at it as being thorough! That said, the real meat doesn't get served until chapter 2. Even better, it starts at the right end of the table! With what amounts to something on par with 'C's 'hello world\n', they begin with a simple model and use XML::Simple and Data::Dumper to make a solid but still approachable beginning. One of my pet peeves in the world of 'how-tos' and other surveys is that they mostly don't make a reasonable assumption about where to start. Either they begin in the deep end by handing you an anchor and shouting 'SWIM!' or they bore you to death with endless beginner material. XML and Perl makes a pleasant exception to that trend.
Chapter 3 introduces the continental divide of XML, DOM versus SAX. Or more accurately the Document Object Model versus the Simple API for XML. Access by structure or access by event, both have their advantages and disadvantages, as discussed by the authors. Since this is the kind of material that leads rapidly to internecine programmer warfare, they wisely avoid siding with one or the other, making for an even handed introduction to both. One shouldn't take the fact that most of the chapter is about SAX and SAX2 based approaches as an indicator---chapter 4 is devoted to tree-based modules.
Section III goes into some detail on generating XML (useful, having shown you in section II what to do with it) and Section IV is the typical (but still valuable) advanced stuff section. A kind of what's next view of the more complex XML based concepts. I don't mean to blow off the second half of the book---rather think of it as avoiding the 'spoiler' problem inherent in a review! Besides if I'm tired of writing it follows that you should be tired of reading...
- Data::Dumper
- DBD::CSV
- DBD::MySQL
- DBI
- Frontier::RPC
- SOAP::Lite
- XML::DBMS>
- XML::DOM
- XML::Generator::DBI
- XML::Handler::YAWriter
- XML::LibXML
- XML::LibXSLT
- XML::NameSpaceSupport
- XML::Parser::PerlSAX
- XML::Parser
- XML::Sablotron>
- XML::SAX::Expat
- XML::SAX::PurePerl
- XML::SAX
- XML::SAXDriver::CSV
- XML::SAXDriver::Excel
- XML::Simple
- XML::Twig
- XML::Writer
- XML::Xerces
- XML::Xpath
@book{Riehl+Sterin:1, author={Mark Riehl and Ilya Sterin}, title={XML and Perl}, publisher={New Riders}, address={Indianapolis, IN}, edition={1st}, year={2002}, ISBN={0735712891}, }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML and Perl
by princepawn (Parson) on Nov 14, 2002 at 22:06 UTC | |
by Matts (Deacon) on Nov 15, 2002 at 14:38 UTC | |
by princepawn (Parson) on Nov 15, 2002 at 20:52 UTC | |
Re: XML and Perl
by pelagic (Priest) on Feb 03, 2004 at 13:21 UTC |