|
|
|
|
|
|
| |
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... |
|
| |
| Data, its presentation and user interface forms Categories : PHP, XML, User Interface | | | Building XML Web Services with PHP NuSOAP Categories : PHP, NuSOAP, XML | | | PHP 101 Part 11 of 15 : Sinfully Simple Categories : PHP, SimpleXML, XML | | | Serializing XML With PHP Categories : PHP, XML, Serialize | | | Parsing XML With DOMXML And PHP Categories : XML, PHP | | | More PHP, XML and XSL for Wireless Content Categories : PHP, XML, XSL, Wireless | | | Building a Generic RSS Class With PHP Categories : PHP, XML, Rich Site Summary (RSS), PHP Classes | | | Building XML Trees With PHP Categories : PHP, XML | | | Injecting XML Content Into Page Templates With patXMLRenderer (part 1) Categories : PHP, XML, Templates | | | Building XML Trees with PEAR's XML_Tree Class Categories : PHP, Pear, XML | | | Build Your Own KlipFolio Klip With PHP Categories : XML, Content Management, PHP | | | Generating One-Time URLs with PHP Categories : PHP, URLs | | | 10 PHP Functions I Bet You Didn't Know About! Categories : PHP, PHP Functions, Filesystem, Arrays, Errors and Logging | | | Using the .NET Assembly in PHP Categories : PHP, .NET | | | PHP 101 Part 8 of 15 : Databases and Other Animals Categories : PHP, Beginner Guides, Databases | |
| |
|
|