Yii Framework Forum: Hierarchical data - is this possible? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Hierarchical data - is this possible? Rate Topic: -----

#1 User is offline   manilodisan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 80
  • Joined: 17-September 09
  • Location:Bucharest

Posted 06 October 2009 - 08:49 PM

I think it would be a good thing to have this implemented in Yii.
Example: http://www.doctrine-...ta#introduction
0

#2 User is offline   qq71151461 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 386
  • Joined: 05-June 09

Posted 06 October 2009 - 09:35 PM

up
0

#3 User is offline   Andrey G. 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 25-August 09
  • Location:Russia

Posted 08 October 2009 - 04:15 AM

View Postmanilodisan, on 06 October 2009 - 08:49 PM, said:

I think it would be a good thing to have this implemented in Yii.
Example: http://www.doctrine-...ta#introduction

I already using own implementation of Tree, so it's possible. If u asking about doctrine's implementation, then it's more deeper subject to study, there are alot of ways to store tress and nested set is not suit for all tasks. So i would like to have at least 2 basic methods: nested set and adjacency list.
Just Do It!
0

#4 User is offline   Backslider 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 358
  • Joined: 23-July 09

Posted 10 October 2009 - 01:01 AM

There is an extension for nested sets here: http://www.yiiframew...sion/nestedset/

I tested this today along with the jsTree extension and it appears to run ok.

It would be nice to see some more activity with it, since there is not much in the way of examples for using it, and nothing on actual database management of the nested data.
We were all once expert at....... nothing.

yii-language-behavior

My Blog
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users