[dev] Re: [cvs] commit: horde/lib Tree.php

Chuck Hagenbuch chuck at horde.org
Sun Feb 23 22:28:21 PST 2003


Quoting Marko Djukic <marko at oblo.com>:

> Troll too come to think of it, relies on a dom tree which is not related
> to Horde_Category, which could be handled by a central horde tree class, 
> no?

Sure. My main point is that there shouldn't be two APIs for this. Having
Horde_Tree_category extend Horde_Tree or whatever is fine (though I still
think the dom version should be the extension of some flat tree baseclass -
separate out the data handling so that either flat or dom can handle it, and
then have Horde_Tree and Horde_Tree_dom). I don't really care how you go
about doing it (though obviously I have opinions), but I don't want you to
add this while ignoring CategoryTree. There should be a coherent scheme and
API that can cover all of this.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the dev mailing list