Indeed I'd like to emphasize that it is important to have access to
the hierarchical structure of the components.
There is an interesting point about the combination of a component
framework and an event framework as provided by circuits. I admit that
I find myself using the component hierarchy in only a few cases. If
your component framework is not event based, hierarchy information is
important, because you often e.g. iterate over the child components or
climb up to the anchestors to find a specific component.
Having the events available, instead of searching for a specific
component in the tree (and invoking one of its methods), you simply
emit an event and hope that it hits the right component. But sometimes
there are still occations when I want to do something with all
(sub)components (of a specific type).
- Michael
On 26 Sep., 22:22, James Mills <
prolo...@shortcircuit.net.au> wrote:
> .manager and .components are used to maintain
> state and maintain the component structure of a system.
>
> They are used by internal tools such as:
>
> circuits.tools.graph(...)
>
> Hope this helps!
>
> cheers
> James
>
> James Mills / prologic
>
> Developer | circuits, sahriswiki
> E:
prolo...@shortcircuit.net.au