|
|
|
|
|
|
| |
Dante explains how to convert data from XML to the more PHP friendly arrays and arrays in arrays so that it can be used easily in your code.In the last few years, XML has received great media attention, and most languages support the parsing and extraction of data from XML documents. Besides being a great three-letter anacronym to sprinkle on your résumé, XML is actually a useful data storage structure for PHP programmers.
Before you begin to use XML, you must first determine if your project really needs what XML offers. There are alternative data storage formats like fixed-width column files, tab-delimited files, CSV files, and database tables, but these formats typically can only manage a simple grid of rows and columns of data.
XML provides several additional benefits for programmers including:
data format abstraction,
simple document tag/data validation,
the ability to store data in a tree-like hierarchy,
platform independence,
ease of integration,
and more...
...but you already know that. What you want to do is use XML data inside your sparkling new web application. We'll explore one simple way to do this in the remainder of this article.
Read More... |
|
| |
| Building XML Trees With PHP Categories : PHP, XML | | | Data, its presentation and user interface forms Categories : PHP, XML, User Interface | | | More PHP, XML and XSL for Wireless Content Categories : PHP, XML, XSL, Wireless | | | Building XML Trees with PEAR's XML_Tree Class Categories : PHP, Pear, XML | | | PHP 101 Part 11 of 15 : Sinfully Simple Categories : PHP, SimpleXML, XML | | | Serializing XML With PHP Categories : PHP, XML, Serialize | | | Building XML Web Services with PHP NuSOAP Categories : PHP, NuSOAP, XML | | | Building a Generic RSS Class With PHP Categories : PHP, XML, Rich Site Summary (RSS), PHP Classes | | | Parsing XML With DOMXML And PHP Categories : XML, PHP | | | Injecting XML Content Into Page Templates With patXMLRenderer (part 1) Categories : PHP, XML, Templates | | | Build Your Own KlipFolio Klip With PHP Categories : XML, Content Management, PHP | | | tracking where and what on your site people are clicking Categories : PHP, MySQL, HTML and PHP, HTML | | | Date Arithmetic With MySQL Categories : PHP, Databases, MySQL, Date Time | | | Building Cross Platform GUI Apps With PHP-GTK Categories : PHP, PHP-GTK, GUI Apps | | | Alternating row colors with PHP and mySQL Categories : PHP, Databases, MySQL, HTML and PHP | |
| |
|
|