> i guess, using symbolic names as references is the only reasonably
> powerful way ... but where should they be visible? can names be shared
> in different patches?
in the DOM (web browser) world, there are several ways to access nodes
type element api
symbolic name = <el id=this> = getElementById('this')
group name = <el name=article> = getElementsByName('article')
CSS selector:
<a>
<b>
<c/>
<osc freq=440/>
</b>
</a>
a c - matches c
a > c - doesnt match c, since not direct child
attribute matching is allowed:
osc[freq=440], etc
XPath:
//a/b/c
i suspect this is already possible (except bindings to pseudocode):
thispatcher.getNodes.filter(o){return o.freq && o.freq == 440}
most patch shouldnt have too many node that this should be slow, (unless patch
was created dynamically)
DOM scopes ID per subpatch (iframe). as the inner frame is another patch (page)
with its own IDs already. this should allow proper remixing of abstractions
without collisions
cr
_______________________________________________
nova-dev mailing list
[email protected]
http://klingt.org/cgi-bin/mailman/listinfo/nova-dev
http://tim.klingt.org/nova