views:

1672

answers:

3

There seems to have been some interest over the past year around COP within the .NET community (ala Qi4j). A few folks have rolled there own COP frameworks (see links below) and it would appear .NET 4.0's Dynamic Dispatch and MEF might have a potential role in any .NET COP framework.

On one hand a lot of this would appear to hark back to ideas from System/38 days (yes, I'm an old guy), though on the other it would also seem to be a pretty good fit with Oslo (Modeling and Repository). Can anyone comment on the whether Microsoft is doing any work on COP?

Some recent .NET COP framework efforts:

Hendry Luk - Roll Your Own COP

Yves GoEleven.com - Cop - Proof of concept

Anders Norås - Trick or Trait? Composite Oriented Programming with C#

Magnus Mårtensson - Composite Oriented Programming spike on Unity Application Block

+1  A: 

Can anyone comment on the whether Microsoft is doing any work on COP?

Microsoft released Composite Application Block and Composite WPF, They have DI FW (Unity). Now they are working on MEF.

What should we comment here ?

aku
+2  A: 

Aku - There is considerable difference between the CAB / Composite WPF guidance and COP which is a fundamentally different approach to the expression of object behavior via the assembly of 'fragments' based on [Domain] context. The appearance of Mixins, Concerns, Constraints, and SideEffects in .NET 4.0 variously might point in that direction, but I guess I'm more specifically curious if Microsoft is by chance, or in any way, formally "doing COP" and in particular on top of the Oslo repository.

J Healy
A: 

Check MEF http://mef.codeplex.com, currently shipped inside .NET 4, more in PDC session http://microsoftpdc.com/Sessions/FT24

Karel Frajtak