Linked by Eugenia Loli on Tue 27th Feb 2007 23:56 UTC, submitted by IdaAshley
General Development This first article of a three-part series introduces PHP5's XML implementation and help those relatively new to using XML with PHP to read, parse, and manipulate, and write a short and uncomplicated XML file using the DOM and SimpleXML in a PHP environment.
Permalink for comment 217219
To read all comments associated with this story, please click here.
XML Ext - PHP5's saving grace?
by robinh on Wed 28th Feb 2007 08:51 UTC
robinh
Member since:
2006-12-19

PHP seems to be going through a rough time at the moment, with more and more of it's users defecting to languages like Ruby and Python. One positive thing about PHP5 is the new XML extension (mentioned in the article), and IMO it kicks the pants off anything I've seen in PHP's competitor (Scripting) languages. As an example, I have a project which uses PHP5s custom stream handlers to read data out of a database during an XSLT transformation (using the document() function). I haven't seen any of PHP's competitor (scripting) languages come out with features as advanced as this.

Enjoy!

Reply Score: 2