News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Streamline Working with XML in PHP Using Service Data Objects (Part 1 & 2)
August 09, 2006 @ 07:34:48

The Zend Developer Zone has posted both Part 1 and Part 2 of a series from IBM today, a look at using XML in PHP with the help of the Service Data Objects.

Looking at SDOs and their associated interface, you should get a clear idea of the API the SDO extension provides. We then move on to show a working example of using SDOs in a two-part application comprising a small PHP application to implement a simple Web log (blog) and a part that displays that blog as an RSS feed. Both parts use SDOs as a way of working with XML. We hope you will agree that SDO is an attractive option for working with XML data in PHP.

In part one, they get down to basics and introduce what the service data objects are, how they work, what they look like, and what kind of options they offer. Near the end, they start talking some about the XML structure in preparation for the next part.

Part two picks up right where the previous part left off, taking the basic knowledge and building on it, showing how to create an SDO, and add the namespaces needed. From there, for the sake of time, they give a simple blogging application for download to illustrate how the pieces fit together. They break apart the pieces, showing what each part does and demonstrate how to add entries to the blogging application.

0 comments voice your opinion now!
service data objects part1 part2 working xml service data objects part1 part2 working xml


blog comments powered by Disqus

Similar Posts

Jim Plush\'s Blog: AJAX, PHP and Javascript Errors - How to get more data

DevShed: Build a Query Processor Class for Networking in PHP 5 (Part 1)

Ibuildings techPortal: PHPNW11 Conference Report - Part II

IBM developerWorks: Aajax RSS Reader

SitePoint PHP Blog: Build a Database with Eloquent, Faker and Flysystem


Community Events

Don't see your event here?
Let us know!


extension performance example library conference introduction version api podcast php7 framework laravel interview series community release voicesoftheelephpant application symfony2 opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework