 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Fri Dec 22, 2006 4:05 pm Post subject: DBnested or structure tree? |
|
|
DBnested or structure tree?
1. What is the difference?
2. Which is better in your opinion?
marksu |
|
| Back to top |
|
 |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Fri Dec 22, 2006 5:50 pm Post subject: |
|
|
Admin please move this thread to STRUCTURES section.
Then remove this message. |
|
| Back to top |
|
 |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Fri Dec 22, 2006 5:50 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|