News from Mar 12, 2008

  2008/03/12
MDA for Groovy using EMF

During the past few weeks I have read through loads of material regarding MDA, especially the Eclipse Modelling Framework (EMF) and all the tools around it... this is the way to go IMO!
In the coming weekend I will start work on a Ecore -> Groovy Domain Class transformation, using oAW templates (looks very easy!). Next step is to enable application of annotations (or similar approach?) to the model to indicate such things as contraints, searchable and the other groovy specific DC "stuff"! perhaps also operations to closures?

I'm considering making a more loosely coupled constraints framework, where the constraints are defined in a separate model and then mapped to the Domain Classes for reuse. Fx enablecreation of ConstraintClass "UserName" (in ecore model) with constraints of unique, minlength, regEx etc. Such a ConstraintClasses could then be extended and referenced by the static constraints closures of multiple DCs. What do you think?
I see there is a Java2Ecore tool. Why not a Groovy2Ecore tool??? Ideas are flowing...

 Kristian

Posted at 12 Mar @ 5:50 PM by Kristian Mandrup | 4 Comments

March 2008
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Mar 20, 2008
Mar 04, 2008