[olug] [OT] Of parents and children

Kevin Lanik kevin.lanik at gmail.com
Fri Feb 25 14:25:25 UTC 2005

The model is much like a file system. There are folders and objects
(patients, appointments, referrals, medicationns, etc... medical) The
user can place what ever they want in this area and create folders to
organize them in. We've also come to the same conclusion as David
Walker,  namely

>I do not think you can guarantee that the user intended for your example node
>3 to go under the root or to stay a child of node 1.  Forcing them into
>multiple moves is the only way to ensure they achieve the desired result.

The discussion has been very helpful in drawing everything out, thanks folks!

On Thu, 24 Feb 2005 22:22:06 -0600 (CST), Daniel Linder <dan at linder.org> wrote:
> Hash: SHA1
> On Thursday 24 February 2005 10:48 am, Kevin Lanik wrote:
> > Slightly off topic, but an interesting programming problem here. I'm
> > programming in objective-c (language doesn't matter much though) and I
> > basically have a tree. My problem is that I'd like to be able to take
> > a node and move it into one of it's children (or, since there is X
> > level of depth) or somewhere in it's own lineage.
> <quote who="David Walker">
> > I would say you can't just move a node into its children.  It doesn't make
> > sense logically to me.
> I'll second Davids comments.  Can you expand on the actual data these
> nodes represent?  If the nodes/links are a representative of file &
> directory structures... It will be different than if they are
> representative of people and are part of a company org chart.
> Dan
> - - - - -
> "I do not fear computer,
> I fear the lack of them."
>  -- Isaac Asimov
> GPG fingerprint:9EE8 ABAE 10D3 0B55 C536  E17A 3620 4DCA A533 19BF
> Version: GnuPG v1.2.1 (GNU/Linux)
> iD8DBQFCHqfuNiBNyqUzGb8RAvWbAJ9z5K8IuzPIe3wU8oX3GSP8kQBynQCeNu5Q
> MBNb1rO+TgwBfCgR7bQLHpU=
> =jIu1

More information about the OLUG mailing list