Creating applications with PHP and XML database

Classes to work with XML database from PHP are available. You can use these to work with an XML database like Xindice. The class that is used is available in class_xindice.php in the phpxmlclasses.sourceforge.net website. You have to instantiate the class once and then you can use the RPC's of that object to work with the XML database.

_______________________________________________


_______________________________________________


There are many methods available for this purpose. You can use the Xindice constructor to instantiate the class. The createCollection method is used to create a collection for XML documents and listCollections is used to list the collections available in the XML database.

To find out the number of documents present in a collection you can use getDocumentCount method. Drop collections using dropCollection. To insert a new document in a collection you can use insertDocument and to update a document use setDocument.

To get the list of the documents available in a collection you can use listDocuments method and use removeDocument to remove a document from a collection.

You can find all the methods available in PHP to work with an XML database in the sourceforge.net website. With these methods you can create any application that uses PHP and XML database.

Software: Apache. PHP/4.3.9 (The Appalachian Online)
/** * @version $Id: offline.php 6018 2006-12-18 19:04:42Z robs $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.

Software: Apache. PHP/4.3.9 (The Appalachian Online)
/** * @version $Id: offlinebar.php 449 2005-10-11 04:58:12Z stingrey $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.

Voxeo Announces Prophecy 9 with New SIP APIs, Support for MAC OS X and Linux (PRWeb via Yahoo! News)
New features increase manageability while decreasing deployment costs.

RSS Not Parsed -- Please Refresh Page



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover







 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?

Dallas Web Design- local Dallas web design firm offers site design and backend system development