Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 255
J Healy Avatar asked Sep 30 '08 08:09

J Healy


2 Answers

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.

like image 185
J Healy Avatar answered Sep 25 '22 08:09

J Healy


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 ?

like image 23
aku Avatar answered Sep 25 '22 08:09

aku