iQgen Weblog

Several innoQ employees maintain a public weblog. This virtual weblog is a view onto these weblogs specific to entries that are related to MDA and code generation in general, or iQgen in particular. The virtual weblog also has an RSS newsfeed for usage with feed readers.

September 10, 2004

Personal iQgen Extension

Phillip Ghadir at 06:18 PM link

Today I've done some experiments that I envision for quite some time.

Applying Model Driven Architecture or a simple model-based generative approach to real world projects forces you to follow strict processes in order to ensure that your development steps stay repeatable.

While in early stages of development the forward engineering approach is extremely powerful, it becomes somewhat inappropriate when going to latter phases of projects. The temptation to abandon the generative approach and do all changes in the code increases. (For more information of forward engineering you could consider this short introductory part of the iQgen doc.)

The reason for that is a shift of scope in the development activities. While the common approach follows a push model (commonly model changes are pushed into code through generators), it would be more appreciated to use a pull model (that is, "update code fragments x, y, z from model with current transformation-rules").

In order to move into that direction I've extended iQgen a little bit to track metadata according to transformations and their execution.

With this it's possible to query dependencies between model elements of various abstraction levels (PSM / PIM), code and iQgen templates.

The following picture shows a part of iQgen's GUI with the (first) simple dialogs which can be invoked on model elements or generated files in order to query the thing I've called Transformation Repository.

iQgen-Screenshot.PNG

As you can see it's very beta. But the infrastructure would allow to execute subsets of transformations. For the ease of model driven development in latter stages it's now possible to start generation directly from the code point-of-view.

I wonder if this is considered useful or even necessary and appreciate any feedback.

Read the original posting

April 21, 2004

State Machines with Enterprise Architect and iQgen

Phillip Ghadir at 10:26 AM link

This little sample was developed just as an sample to show iQgen's capabilities with behavioral models. I used iQgen 2.0 for this, but it might be running with other versions as well.

The model was created with a trial version of Enterprise Architect 4.0 - a highly recommended CASE tool. Although there are some constraints in modelling state machines with EA in order to generate from theese with iQgen, this sample might be a good starting point.

All you have to do is to download and extract the zip-file, read the Readme.txt, and then just start generating and see the result. If you want to play around with other CASE tools, the state machines might be exported in a different way.

Maybe I'm able to show the usage of other diagram types near soon.

Read the original posting



Copyright © 2001-2006 innoQ Deutschland GmbH, innoQ Schweiz GmbH. All rights reserved. | RSS | Disclaimer | Webmaster