RE: Recursion: Ugh!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Brown <mailto:sbrown25@xxxxxxxxx>
    on Thursday, May 26, 2005 11:47 AM said:

> How is your structure being built?  Is it hard-coded or dynamic (e.g.
> pulled from a DB)?

>From a database.

> We employ a similar "tree" structure for manging
> items in our store front.  Believe me when I say, its a hell of a lot
> easier to only be concerned about the current item rathen then every
> item in the sturcture.

But what perspective are you coming at this?

Let's say you're entering a new product, you'd want to see a list of all
the available categories, not just the last node of a branch.

I'm not sure I understand what you're trying to say.

> What I mean is,
> if you are looking at the element "Round", don't concern yourself with
> "Fruit" or "Long".

But I wouldn't be building the entire tree if I were only looking at a
specific node.


Sorry I am misunderstanding you.


Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux