Model Driven Drupal

June 20, 2011

I started working on some eclipse plugins to model drupal modules. I prefer defining all the structures in drupal via a model than via multi dimensional associative arrays. I already defined a simple model in EMF. Now, starting up the code generators in eclipse. I stand for the choice to go for the Acceleo SDK with an ocl template based language or for xpand which is developed by itemis and is I think more mainstream.

The next thing to think about is how to setup some kind of workflow for all kinds of changes. changes to the metamodel, changes to contents of the model, changes to the code generator templates. etc. There is some tooling for drupal called drush but that is not really enabled for the ms-windows operating system. I probably will first setup something like hudson, jenkins or bamboo that monitors my svn repository. I use maven with tycho to build all my code. Then we'll see if drush under windows is still good enough to test my code generators.

That concludes the braindump for the day.