|advice in b3 [message #571446]
||Fri, 18 September 2009 14:45
| Henrik Lindberg
Registered: July 2009
I have been looking at how to handle advice in b3.
In Buckminster advice is available in a CQUERY (advisor nodes), but once
the query is executed and the components have been materialized, the
advice is no longer applicable (unless it left side effects in what was
Also in Buckminster, the MSPEC is providing advice to materialization.
I would like to have a single advice mechanism in b3. I think it can
work like this:
- All actions (such as import, invoke, etc.) can specify the advice to
use. (import advice == Buckminster CQUERY advisor nodes + MSPEC)
- Advice is specified by using a query mechanism similar to XQuery
(instead of name pattern in Buckminster advisor nodes and mspec).
- A piece of advice (advisor), simply needs the result to have a
The SAP guys are working on query support for EMF - which seems to be
useful. Unknown though how far they are, and if they plan a concrete
query syntax (like XQuery). Does not seem terribly difficult to parse a
XQuery into the implementation of EMF query.
Advice can then be applied in a much more precise way.
Powered by FUDForum
. Page generated in 0.02149 seconds