PHP Classes
Icontem

Class: Hierachical Data Object


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dave  >  Hierachical Data Object  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Hierachical Data Object Support forum
Base name: hdobj
Description: Store and retrieve hierarchical data in XML
Related top rated classes: ,
Version: -
Required PHP version: -
License: BSD License
All time users: 1361 users
All time rank: 1945
Week users: 2 users
Week rank: 2490
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Dave
Name: Dave <e-mail contact>
Published packages: 6 Browse this author's classes Browse this author's classes
Country: South Africa South Africa - PHP jobs in South Africa
Home page: ???
Age: 31
All time rank: 134
Week rank: 249

Innovation Award

PHP Programming Innovation award nominee
September 2005
Number 5
XML documents can be seen as an hierarchic data structure defined by a set of nested tags and data.

This class implements an abstraction that allows creating and accessing XML documents as an hierarchy of objects. The object variables are mapped to XML tag names and variable values to XML tag data. The object variables can be set or updated to change the XML document contents.

Regenerating an updated XML document is a matter of calling a function to generate XML tags starting from the root object of the hierarchy. Loading a new XML document can be done passing the XML data to the class constructor.

This object oriented approach makes it simpler to create and update XML documents of any complexity.

Manuel Lemos

Groups

Group folder image XML XML parsing and generation View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

Detailed description

This class can be used to create and manipulate hierachical objects that can be stored and retrieved from XML documents.

The class provides means to define an object and their property values, as well to add children object and so dynamically build an hierarchy of objects.

The class can generate XML documents that represent the hierarchy defined by an object and its children objects.

The class constructor allows passing XML data from which it is read the definition of its properties and eventual children objects.

User ratings

There are not enough user ratings to display for this class.

Packages needed by this class

Class Dependency Why it is needed
DOMIT XML parser
Conditional
for the xml transport process into and out of the HDObj

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file append.xml Data data to use with the example script, for showing off the append_xml function
Plain text file data.xml Data data to use with the example script test_hdobj.php
Plain text file hdobj.php Class HDObject class file
HTML file hdobj_doc.html Doc. Class documentation
Plain text file log.php Class logger base class
Plain text file test_hdobj.php Example example usage script
Download all files: hdobj.tar.gz hdobj.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products