Welcome Guest, Not a member yet? Register   Sign In
Store hierarchy methods
#1

[eluser]jwindhorst[/eluser]
I have to implement a fairly robust hierarchy display (folder/tree view) for a site I'm working on. I've been through countless pages about the pro's and con's on the 2 primary methods for this: 1. recurssion: clean code, poor performance; 2. Modified Preorder Tree Traversal: complex concept, much better performance.

So I'm going around and around, and truly wondering why I shouldn't just create an xml string that represents my hierarchy data, and store that in my DB?

Can anyone out there come up with a good reason not to store the hierarchy as a an xml string in the DB?




Theme © iAndrew 2016 - Forum software by © MyBB