Home
 
 
Search:  
C C++ Perl PHP Python HTML ShellScripts
 
 
  Coding Books
  Tutorials
  Search Code
  Browse Code
  Link to Us
  Site News
  Contact Metalshell
 
 
 
  Submit Code   Statistics
 



Professional PHP4 XML    (ISBN: 1861007213)


 

 List Price: $49.99
 Our Price: $34.99
 Used Price: $34.94

 Release Date: June, 2002
 Manufacturer: Wrox Press Inc (Paperback)
 Sales Rank: 10,838

 Author: Luis Argerich, Chris Lea, Ken Egervari, Matt Anton, Chris Hubbard, James Fuller, Charlie Killian









Buy This Book

Average Customer Review:


Solid Coverage of Core XML Technologies

     The book features the most solid documentation on core XML technologies that i have ever read:
The SAX chapter is very interesting read because it goes beyond the installation of the SAX libraries and learning how to use the functions. Covering Expat, the chapter explains a great deal about how to use the less uncommon functions like xml_set_notation_decl_handler(), xml_set_external_entity_ref_handler() and the others effectively. Also of note, the diagrams and code examples were very clear and well done in this chapter. The chapter also looks at writing a properly modeled object-oriented SAX parser using eXtremePHP and covers common problems like removing whitespace, handling erroneous XML input and extending the white box infrastructure within eXtremePHP to create very powerful, yet elegant, XML Parsers.The DOM chapter covers the latest DOM extensions introduced in PHP 4.2.1 and even provides code examples and heads up information on what is to come in PHP 4.3.0. The chapter introduces what DOM is and even shows the reader a beautiful diagram illustrating how all the functions relate to an example. By simply looking at this, you can get a feel for how to use DOM almost immediately. The chapter continues to discuss how to enable DOM within your PHP installation on both Windows and UNIX and looks at the real-world advantages and disadvantages to using DOM over SAX. Next, the chapter explains the new DOM object model and looks at the underlying architecture before diving into any code examples. This information sets up the rest of the chapter, making it a lot easier for non-object oriented programs to visualize what methods belong to what objects and understanding the data relationships of the DOM tree. The chapter then presents a lot of code examples. First, it illustrates how many of the methods and functions of the DOM library work and then covers more complicated examples, illustrating how to parse, create and modify DOM documents with and without using HTML forms. The chapter closes with a pretty comprehensive look into the limitations of the DOM standard, explaining to the reader what the boundaries are, common problems with the API yet unfixed and provides future directions the library might take to correct many of the architectural, standards-based and object-oriented capabilities within the library.

Kudos to everyone that made this book happen.



Intro to Everything

     "PHP XML" does a great job of covering a little bit of everything you can accomplish using PHP and XML. There's so much to cover, though, that a thorough, in-depth discussion of each is impossible in the scope of one book. Rather, the book teaches a programmer enough about the various technologies that they are much better prepared to make initial design decisions in their projects, and have enough example code to get their feet wet with the code to implement those decisions.

I'd recommend the book to anyone who'd like a convenient all-in-one-place reference to XML-related technologies and how PHP interacts with them. The book enables a developer to not just pick a tool because it's available, but to make intelligent decisions about which tool is best for their purposes.

It also gives one enough of a head start that understanding much deeper and more technical information on the web or in other books (XSLT Programmers Reference 2nd Edition, Pro PHP4, etc...) becomes easier to digest.



Some Thoughts About The Books Goals

     Hi, my name is Ken Egervari and I am one the authors which make available this great title to you fellow PHP programmers and XML enthusiasts. Seeing as I wrote 3 chapters (SAX, DOM and XSLT) as well as the Object Oriented Programming appendix, you might assume there is a conflict of interest with this review. Let me assure you, despite my involvement with this title, I promise to be objective and simply state the goals of the book. This really isn't a review as some thoughts about the book.

After receiving my copy, I've been reading the entire book and as a whole, Professional PHP4 XML covers every inch of these topics in fantastic detail. I sincerely believe that new-comers to XML (and even PHP) will definitely find a wealth of information to get them started and expert programmers will enjoy the rich, deep knowledge contained in each subject, demonstrating the experience and thoroughness of all the authors who contributed to make this book the very best.

To start off my review, I want to take a look at the chapters in which I contributed, making clear to you the goals of each topic. Unlike many PHP books on the market, I didn't 'just' want to demonstrate the concepts and APIs; I really wanted to engage the reader into thinking creatively about their PHP applications by thinking about architecture and design and sharing valuable insights in areas concerned weather it be programming issues, common solutions to recurring problems, best practices, or changes to the APIs in future releases. Given that I am as much of a businessman as an architect, I also wanted to reader to consider the various business-related issues with each technology by providing valuable insight on the consequences to using these technologies in your organization. I wanted to enlighten the reader rather than bore them with functional descriptions and basic examples. As you read the book, you'll clearly see the book lives up to these goals.

My first task was to write a chapter on SAX. I've read many chapters on SAX from other texts or articles on the Internet, but I really wanted to take this one over and beyond what was already out there. Besides looking at the core concepts, process and various implementations, I explain in detail on how to create highly reusable, maintainable parsers by making use of object-oriented technology. I further explained how to deal with common problems when parsing erroneous generated XML content. Given that there are many hacked up Web Service-like URLs and XML generators out there, this section was much needed.

The DOM chapter continues teaching the reader about XML parsering by diving into the details on creating and manipulating DOM trees using PHP 4.2.1 and 4.3.0. This is something no book on the market has at the time of this review. The chapter shows countless number of examples to ensure the reader understands how to construct trees. The chapter dives into the architecture of DOM parsers and suggests much easier ways to simplify the construction of your applications. Given the DOM API is still new, the chapter outlines many of its current limitations and problems in great detail, ensuring the reader doesn't get fowled up in any dirty business that they can't fix without starring at their monitor for several hours only to see it's a problem with the API itself. This chapter discusses several larger applications that are interactive using HTML forms to show the reader how to construct XML content in an organized manner.

The last chapter, XSLT, discussed most of the XSLT standard as well as its use within PHP. This is useful since you don't need to purchase another XSLT book in the future as this chapter, as well as the appendix, should provide you with all the knowledge you'll need for years to come. Given that XSLT isn't used as much as it should, I spent a great deal outlining the various advantages and disadvantages pragmatically. Besides looking at the concepts and the XSL document standards, the chapter goes beyond simple XSL documents and explains how to build dynamic PHP scripts, interops with legacy applications, discusses the construction of multi-tiered applications, uses XSLT as a functional language, and even explains some recursive techniques to solve complicated document generation problems. Many times programmers are confused on which technology to use; this chapter compares SAX, DOM and XSLT and helps the reader decide which technology is best for your project and organization's goals. Lastly, XSLT is often overlooked when it can offer a very elegant and platform independent solution! The chapter thoroughly explains the various applications XSLT is used and even gives the reader with some vision and direction as I described how various projects used XSLT skillfully.

I hope these review helps inform you about the book's content. I hope you enjoy the book as we all did writing it. Happy reader and thanks for listening.



 
 
   Developer.*  
   Blue Parrots  
   Technipal  
   Defy Magazine  
   Code Project  
   Prog. Heaven  


Got Money?