Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » advice in b3
advice in b3 [message #571446] Fri, 18 September 2009 10:45
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2492
Registered: July 2009
Senior Member
Hi,
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
actually materialized).

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
suitable interface.

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.

Comments?
- henrik
Previous Topic:Packaging
Next Topic:model reviews - as attachements?
Goto Forum:
  


Current Time: Sun Apr 20 02:53:51 EDT 2014

Powered by FUDForum. Page generated in 0.05534 seconds