Needs work
Project:
Tree
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 16:30 UTC
Updated:
3 Jul 2012 at 09:28 UTC
Jump to comment: Most recent file
It seems a closure tree storage could be simpler than a nested set storage like the one currently used.
Attached is a standalone module implementing this type of storage, hopefully pluggable into this module, as I haven't yet had time to understand the structure of all the files involved in the current module implementation.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 0001-Add-ClosureTableLength-provide-to-providers-director.patch | 16.88 KB | fgm |
| treect.tgz | 14.83 KB | fgm |
Comments
Comment #1
fgmincomplete title!
Comment #2
geek-merlinfirst: damien thanks for hacking this together!!
then a big +1 for this issue.
if someone wants to come the conclusion themself that closuretable is a stron implementation see the links in #277312-9: Propose your change to taxonomy module in core
Comment #3
fgmBetter version coming hopefully this week: it already includes two fixes over the previous one, preventing illegal moves (node to one of its children) and illegal adds (multiple roots).
Comment #4
fgmBetter version, now with some integrity tests and start of a test suite.
Comment #5
mitchell commented* chx has an interesting storage optimization in Entity Tree.
* Could it be made into a pluggable backend for this patch?
* #1669052: Port to a backend storage mechanism for Entity Reference's Tree plugin would be a better place to discuss.
* This entity_tree presentation he posted in #28480: Create generalized relationship module explains it very well.