In this last edition I am especially happy to see again a lot of well-know faces working in the same stat-of-the art topics. Everyone coming to CG believes on it, so it easy to jump and talk directly about the core and heavy issues: you don’t need to make any additional effort to convince your audience about the goodness of modeling and code gen.
To me, it is remarkable important to have the chance to meet with MDD, DSL and MDA practitioners and interchange ideas, comment on latest new tools & breakthroughs, and give and receive first-class feedback!
I want to share some of the main shared ideas I got back home in my luggage. So, if you are interested in it, please keep reading.
I meet Stuart Kent (Microsoft) and I was surprised by his tools for Visual Studio 2010 Team Edition designed for model discovery. These tools are capable of selecting the source code of a solution and search for all the dependencies in the code. The tools produces an XML graph with the dependences and Visual Studio is able to draw them (a la Graphviz) and do drilldown from assemblies to namespaces, classes & methods. Nice to tool to have to check the real architecture of your production code.
Stills on CTP stage. we need to await a further more to see the full features of the final version of OSLO. But it is a really needed approach on the Microsoft side to have tools to create text DSL as the Eclipse guys have with XText or openArchitectuware. In this way, my lab tests with MGrammar looks promising.
It was a pity not to have the Redmon guys presenting their tools in first person. They will have received quality feedback for sure. May be in the next edition?
Microsoft DSL Tools
The team of Microsoft Cambridge Research is loyal to the CG conference, and every year they bring us the new features planed for the next edition. I have to said that Jean-Marc Prieur convinced me to download and test the VS2010 Beta 1 to test the new DSL tools we were awaiting for so long!
I took the opportunity to ask Jean-Marc for more integration between DSL Tools and OSLO because having such level of integration should be wonderful for integrating visual and textual DSL in the same model! Later on in the bar, we had a productive discussion about it with Jean-Marc and Stuart Kent.
There was general consensus with my java colleagues in the problems when creating GMF based diagramming. More work should be done on it to improve the maintainability of visual DSL created with Eclipse GMF. Fortunately, DSL Tools is better polished in this aspect.
Partitioning Models for Scalability
This year lots of us came for solutions for making model edition scalable. I am specially happy to see this happen:
- Markus Völter (Independent/Itemis) & Steven Kelly (Metacase) discuss in their great keynote the need for modulable, partitionable and composable models.
- Jos Warmer (Ordina) presented us the implementation of the CrossX Broker for the Eclipse environment allowing to partition models inside Eclipse and still having the possibility to have references to external defined parts. To be honest, he had already implemented this a year before in Visual Studio.
- Jean-Marc (Microsoft) explained about the same similar feature we were demanding from so long in Microsoft DSL Tools: the Model Bus for allowing references between DSL Models.
- Also I presented a technique and a tool demo for partitioning models in chunks and allow applying Separation of Concerns using partials definitions of models and a merge engine.
Jos Warmer & Johan Vogelzang (Ordina) presented also their current work on modeling with textual languages, small DSL and Eclipse integration for business applications. Still work in progress on mod4j but more its going to come.
XText & openArchitectuware
Kathleen Dollard (AppVenture) presented a nice session about Template Specialization comparing XSLT, ASP based templates engines and Microsoft T4 templates. We all agreed in never come back to XSLT due to maintainability issues. I suggested Kathleen to include in the comparison other approaches like StringTemplate. That helps a lot when generating code to keep ourselves focused in the complexity of the transformation and not in the complexity of the template engine.
Jetbrain’s Meta Programming System (MPS)
Presented by Markus & Konstantin Solomatov (Jet Brains), MPS was the surprise of the conference. MPS provides a new way of editing code (or models, the barrier starts to blur) based in trees forms (non linear text). The code (or model) is created as a tree in the toll. Can not be edited with a traditional editor anymore, however makes unnecessary the usage of parsers. Quite, quite interesting and a future line for language workbenches investigation! There are some usability problems and you can notice it when some tree refactoring in ongoing (for example when changing your input from (1+2)*3 to 1+2*3 .
Better tools for M2M
Model to Text (M2T) technology is good enough for the mayority of the uses cases you will find.
Some open problems for further investigation
- Formalism and efficient technology for M2M transformations
- Debugger capability on models
- Schema evolution / Model versioning
- DSL integration / composition
- Better integration of visual, textual, tabular, form based representation in model editors when needed
- Standarization of models and tool chains
- And more…
To sum up, if MDD/MDA/DSL/code generation is on your mind, don’t forget to take a look to Code Generation on the next edition!
Thanks to all participants for making it possible!