I was talking with a ColdFusion developer earlier today who uses Model-Glue extensively and is diving into the <a href="http://labs.adobe.com/wiki/index.php/Cairngorm">Cairngorm</a> framework for Flex and we were discussing the various layers (there are plenty) in a Cairngorm application/

This got me thinking that it might be handle to have a reference that compares the various layers in a typical Model-Glue application to a Cairngorm setup.  I've knocked together a diagram doing just that, and it's available as either a <a href="http://www.model-glue.com/blog/enclosures/Model%2DGlue%20and%20Cairngorm%20Layer%20Comparison%2Epdf">PDF </a> or an image (below, save it for full-size).

ColdFusion Disclaimer: It assumes you're using Model-Glue and ColdSpring, but it'd be easier enough to translate it to Mach-ii and other IoC frameworks.

Cairngorm Disclaimer:  I glossed over things like responders to show big picture.

<img src="http://www.model-glue.com/blog/images/Model-Glue and Cairngorm Comparison.png" width="382" height="480">