PDA

View Full Version : Faster Development Through Modeling



jhyde
01-15-2007, 02:58 PM
Mondrian is used as a running example in an article in this month's Doctor Dobbs Journal, "Faster Development Through Modeling (http://www.ddj.com/dept/architect/193104822)". In the article, Jeff Cahoon explains how to use model-driven architecture (MDA) to generate your application's code and configuration files from a single source of metadata.

In the case of Mondrian, the source is a CWM (http://en.wikipedia.org/wiki/Common_Warehouse_Metamodel) schema written using MofEditor (http://www.fing.edu.uy/inco/ens/aplicaciones/MofPlaza/web/mofplaza/mofeditor.htm), and the example generates a Mondrian schema file containing cube and dimension definitions.

I've been a fan of model-driven data warehousing for some time, and CWM in particular, but it can be heavyweight. What's good for managing GE's enterprise data model is not necessarily good for a small company which just wants to display some trend data on its website. It would be more work to implement in Mondrian, and make Mondrian less easy to integrate with tools built on a different standard, and most importantly, would increase the amount of documentation someone would need to read in order for them to build their first working Mondrian application. So, I left CWM support out of Mondrian, and waited to see what would happen.

It looks like the open source community is coming up with the tools and techniques to deal with metadata and CWM, which is good news. A few months ago, John Sichi described a technique to convert Mondrian models to CWM (http://thinkwaitfast.blogspot.com/2006/06/get-yer-mondrian-metadata-here.html), and Jeff Cahoon's article describes how to go in the other direction.

What's the 'official' way to write a Mondrian schema? I don't know, you tell me...

More... (http://julianhyde.blogspot.com/2006/10/faster-development-through-modeling.html)