Re: [PHP] building an admin tree with varying node types

2008-11-13 Thread Rene Veerman
Rene Veerman wrote: i'm still trying to get my head around how the operations are done. sometimes i see that java app re-arrange large parts of the tree, and i wonder if it's still the same tree i'm looking at :) omg, somebody grab the LART and give me a good spanking on the back of my

RE: [PHP] building an admin tree with varying node types

2008-11-13 Thread Boyd, Todd M.
-Original Message- From: Rene Veerman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 4:06 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] building an admin tree with varying node types Rene Veerman wrote: i'm still trying to get my head around

Re: [PHP] building an admin tree with varying node types

2008-11-12 Thread Rene Veerman
Eric Butera wrote: I cheat and just keep the normal parentId column and regenerate the tree based on changes on that. I had spent a little bit looking at the different update/delete methods and there wasn't a lot of good information/examples as you've stated. I had found some but there were

RE: [PHP] building an admin tree with varying node types

2008-11-12 Thread Boyd, Todd M.
-Original Message- From: Rene Veerman [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 3:50 PM To: Eric Butera Cc: [EMAIL PROTECTED]; php php Subject: Re: [PHP] building an admin tree with varying node types Rene Veerman wrote: Eric Butera wrote: I cheat and just

Re: [PHP] building an admin tree with varying node types

2008-11-12 Thread Rene Veerman
Rene Veerman wrote: Eric Butera wrote: I cheat and just keep the normal parentId column and regenerate the tree based on changes on that. I had spent a little bit looking at the different update/delete methods and there wasn't a lot of good information/examples as you've stated. I had found

Re: [PHP] building an admin tree with varying node types

2008-11-12 Thread Rene Veerman
Boyd, Todd M. wrote: ...had to make one of these in my Advanced Programming Algorithms class. Self-balancing trees are a pretty interesting beast to learn about/work with, but a beast nonetheless. :) i'm still trying to get my head around how the operations are done. sometimes i see

Re: [PHP] building an admin tree with varying node types

2008-11-06 Thread Richard Heyes
How are your groups linked with your users? Does every user has a GroupId in his record? The code is not specifically related to a user management system, but is something you can use to easily build such a system. Does this question has to do with building an html tree or it is about the

Re: [PHP] building an admin tree with varying node types

2008-11-06 Thread Rene Veerman
Thodoris wrote: How are your groups linked with your users? Does every user has a GroupId in his record? Does this question has to do with building an html tree or it is about the best database schema that helps to construct and retrieve a tree faster? My users-table is linked to the

Re: [PHP] building an admin tree with varying node types

2008-11-06 Thread Rene Veerman
Thodoris wrote: How are your groups linked with your users? Does every user has a GroupId in his record? Does this question has to do with building an html tree or it is about the best database schema that helps to construct and retrieve a tree faster? oh, and while searching i landed

Re: [PHP] building an admin tree with varying node types

2008-11-06 Thread Eric Butera
On Thu, Nov 6, 2008 at 5:08 AM, Rene Veerman [EMAIL PROTECTED] wrote: Thodoris wrote: How are your groups linked with your users? Does every user has a GroupId in his record? Does this question has to do with building an html tree or it is about the best database schema that helps to

Re: [PHP] building an admin tree with varying node types

2008-11-05 Thread Richard Heyes
... Bearing in mind that I can't be bothered to read your entire email (sorry!) the HTML_TreeMenu code in PEAR will make building trees for display much easier, and combined with my array based tree class, it will suddenly become as easy as an experienced hooker. (I'm told) [1]

Re: [PHP] building an admin tree with varying node types

2008-11-05 Thread Thodoris
... Bearing in mind that I can't be bothered to read your entire email (sorry!) the HTML_TreeMenu code in PEAR will make building trees for display much easier, and combined with my array based tree class, it will suddenly become as easy as an experienced hooker. (I'm told) [1]

Re: [PHP] building an admin tree with varying node types

2008-11-05 Thread Eric Butera
On Wed, Nov 5, 2008 at 1:47 AM, Rene Veerman [EMAIL PROTECTED] wrote: Hi. I'm trying to build a new admin interface for my cms, in a single screen. I was thinking to have a tree-view on the left side of that screen, something like +Site-Name + UserGroups and Users (node-type section)

[PHP] building an admin tree with varying node types

2008-11-04 Thread Rene Veerman
Hi. I'm trying to build a new admin interface for my cms, in a single screen. I was thinking to have a tree-view on the left side of that screen, something like +Site-Name + UserGroups and Users (node-type section) + Administrators (node-type usergroup) - administrator (node-type