Composite Oriented Programming (COP), .NET 4.0, MEF, and the Oslo Repository

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


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.


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 ?


检查MEF http://mef.codeplex.com,目前在.NET 4内部发布,更多在PDC会话中http://microsoftpdc.com/Sessions/FT24

链接地址: http://www.djcxy.com/p/41948.html

上一篇: 在asp.net mvc中实现stackoverflow样式徽章系统的最佳策略

下一篇: 面向组合的编程(COP),.NET 4.0,MEF和奥斯陆知识库