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

Zend Developer Zone:
Work with XML Data in the Zend Framework
Sep 01, 2006 @ 19:24:43

Zend Framework users, listen up (well, really anyone even looking into the Zend Framework too). There's a new post on the Zend Developer Zone today about working with XML inside of the Zend Framework, courtesy of IBM.

One of the incubator projects in the Zend Framework is Zend_Db_Xml. Zend_Db_Xml, also known as the XML Content Store (XCS), allows web applications that use XML data to easily update, save, and otherwise manage this data. In this article I will introduce the XCS persistence API and discuss an implementation using IBM's DB2 9 database with its pureXML technology. Finally, I'll discuss a sample social networking application to show how easy and fun it is to develop XML-centric applications using the XCS.

They first discuss the XML Content Store and what it offers before getting into the actual code to control it. They go with the DB3 database to store the data and the Zend_Db_Xml_XmlUtil component to manage the connections. Finally, they get to the code and XML examples, creating a simple method for storing and retrieving a user's information.

tagged: xml database db2 zend framework user information xml database db2 zend framework user information

Link:


Trending Topics: