[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.lepido] Re: MDA EMF & LEPIDO

olivier wrote:
Ross Gardler wrote:

olivier wrote:

Hi all && happy new year,

What about using EMF & WTP XML persistance frameworg to build a sitemap editor (and more). This holiday, I've modeled the sitemap component with http://www.topcased.org, and with wtp it's really easy map ecore to the xmap document
Here is the (by me...) cocoon sitemap ecore model: http://www.orcades.net/contrib/cocoon-sitemap-ecore.jpg
I've also hack the WTP XML Persistence framework to make my emf/sitemap to persist, it's work and I have a multi page sitemap editor linked with EMF model.


This kind of appli (MDA?), is really easy to implement and maintain. I wonder if there is an interest within lepido community to use such an approach.



One thing to bear in mind about the AXE approach is that the form descriptions are (technically) usable in environemnts other than Eclipse. Furthermore, the AXE descriptions provide more complete form implementations than default EMF code, although I'm willing to be corrected on this, I've not used EMF for about 18 months.


On the other hand, EMF is wider supported, is more mature and provides more stable code. You also get a Java model for working with the code, which in the longer run could be quite an advantage.

What do you see as the the advantages over the current AXE forms?

Ross


Hi ross,
I've found EMF easier to jump in, then it's a standard, and it's easy to customize the editor (personnaly I've didn't use the edit/editor stuff)
Also these are 2 faces arguments ...
1: typed.

Why is that relevant? All an editor does is provide tools for the creation of an XML document. What I mean is, what are the use cases in which you see the provision of a typed Java model as being useful?


2: full integrated with eclipse (editing domain, command stack ...)

Again, only relevant if we have use cases in which having an integrated java model would be an advantage. What do you see as those use cases?


Note that I cited the fact that AXE definitions of the forms are potentially useful outside of Eclipse, so this is in direct competition with your point 2. Use cases would be, for example, Cocoon Forms for editing sitemaps etc., XUL forms, XForms etc.

Can we do the same with EMF generated stuff?

Ross