PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
DBnested or structure tree?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Structures
View previous topic :: View next topic  
Author Message
marksu



Joined: 21 Jul 2006
Posts: 28

PostPosted: Fri Dec 22, 2006 4:05 pm    Post subject: DBnested or structure tree? Reply with quote

DBnested or structure tree?
1. What is the difference?
2. Which is better in your opinion?

marksu
Back to top
View user's profile Send private message
marksu



Joined: 21 Jul 2006
Posts: 28

PostPosted: Fri Dec 22, 2006 5:50 pm    Post subject: Reply with quote

Admin please move this thread to STRUCTURES section.
Then remove this message.
Back to top
View user's profile Send private message
marksu



Joined: 21 Jul 2006
Posts: 28

PostPosted: Fri Dec 22, 2006 5:50 pm    Post subject: Reply with quote

After some research Icame to following conclusion.

structures - tree
It is a component which has commands on creating and editing tree structure data.
The command are universiel so they work with any data source it supports.

Supported data sources
• DBsimple -the tree is saved in the DB using the parent reference
• DBnested - the tree is saved in the DB using nested sets
• XML - reading the data from an XML-file or XML-formatted string
• Array - the tree is saved in an array
• Filesystem - the tree represents a directory structure


Aviouly the structures - tree it the way to go.

Read more at:
http://www.phpkitchen.com/index.php?/archives/337-PEARTree-Tutorial.html

Home mirrors:
http://pear.php.net/package/Tree
http://www.go-pear.org/package/Tree


If you have any other URLs to good tutorials please contribute here!

marksu
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Structures All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software