nested-sets
Using nestedset for site navigation
I would lik开发者_JAVA技巧e to use a nested set to manage the navigation of a website. Would it be better to have a single page model and just make the parent names define the sections of the site or[详细]
2022-12-16 05:20 分类:问答convert from a 2d array to nested_set in Ruby on rails
I have a tree structure in a .csv file (nodes are of type text), and after reading the csv i want to store the data in a ruby object. I went through a few tree plugins and i think nested_set would ser[详细]
2022-12-13 21:46 分类:问答PHP libraries for handling nested sets in MySQL
I read this article Managing Hierarchical Data in MySQL At the end of this article, it writes about PHP libraries for ha开发者_如何学Gondling nested sets in MySQL.[详细]
2022-12-13 05:53 分类:问答Threaded comment system nested set - multiple roots?
I\'m implementing a threaded comment system for topics ie there is a topic and then threaded comments on each topic.[详细]
2022-12-12 19:28 分类:问答How to Query Nested Set model with multiple roots plus filtering
How do you query a nested set model with multiple roo开发者_运维知识库ts, such trees in the same table? Currently, I added an extra column called the \"Root\" indicating the ID of the root node for al[详细]
2022-12-12 06:19 分类:问答Mysql: Optimizing finding super node in nested set tree
I have hierarchical data in a nested set model (table:projects): My table (projects): id, lft, rgt 1, 1, 6[详细]
2022-12-11 19:38 分类:问答Symfony: Model Translation + Nested Set
I\'m using Symfony 1.2 with Doctrine. I have a Place model with translations in two languages. This Place model has also a nested set behaviour.[详细]
2022-12-11 08:02 分类:问答Does Nested Sets model work with article with many categories (many-to-many)?
I\'ve been using the adjacency model for hierarchical data for the longest time and was searching the internet for a more efficient way to traverse trees until I read about Nested Sets yesterday. I li[详细]
2022-12-11 01:37 分类:问答Count number of nodes in a level in a nested set
I am using Ruby (Ruby on Rails) and have a nested set of about 2000 nodes. Each node can only have two children.[详细]
2022-12-08 14:30 分类:问答Rails, Restful Routes, and Awesome Nested Set
I have a data structure that is basically a tree using :wesome nested set: class category acts_as_nested_set[详细]
2022-12-08 05:36 分类:问答