title: Composite Oriented Programming (COP), .NET 4.0, MEF, and the Oslo Repository
body: <p>There seems to have been some interest over the past year around COP within the .NET community (ala <a href="http://www.qi4j.org/" rel="noreferrer">Qi4j</a>). A few folks have rolled there own COP frameworks (<em>see links below</em>) and it would appear .NET 4.0's Dynamic Dispatch and MEF might have a potential role in any .NET COP framework. </p>
  
  <p>On one hand a lot of this would appear to hark back to ideas from System/38 days (<em>yes, I'm an old guy</em>), though on the other it would also seem to be a pretty good fit with Oslo (<em>Modeling and Repository</em>). Can anyone comment on the whether Microsoft is doing any work on COP?</p>
  
  <p>Some recent .NET COP framework efforts:</p>
  
  <p>Hendry Luk - <a href="http://hendryluk.wordpress.com/2008/05/28/roll_your_own_cop_part_i_mixins/" rel="noreferrer">Roll Your Own COP</a></p>
  
  <p>Yves GoEleven.com - <a href="http://www.goeleven.com/blog/entryDetail.aspx?entry=147" rel="noreferrer">Cop - Proof of concept</a></p>
  
  <p>Anders Norås - <a href="http://andersnoras.com/blogs/anoras/archive/2008/08/21/trick-or-trait-composite-oriented-programming-with-c.aspx" rel="noreferrer">Trick or Trait? Composite Oriented Programming with C#</a></p>
  
  <p>Magnus Mårtensson - <a href="http://blog.noop.se/archive/2008/08/27/composite-oriented-programming-spike-on-unity-application-block.aspx" rel="noreferrer">Composite Oriented Programming spike on Unity Application Block</a></p>