PureMVC Architects Lounge

PureMVC Manifold => Standard Version => Topic started by: Gradiation on December 02, 2007, 09:47:04

Title: Observer Pattern
Post by: Gradiation on December 02, 2007, 09:47:04
Well i've made a start on porting this over to Silverlight / C# and have narrowed down the problems.

One of these issues is the implementation of the Observer pattern.

Could / should this be done using delegates? or should we have use the Observer class and use reflection (which delegates seems to do anyway) to keep it generic?

What do you think?


Title: Re: Observer Pattern
Post by: puremvc on December 02, 2007, 01:35:56
I think remaining as close to the original set of classes/roles is best, even though there might be a more 'correct' solution in a given instance by using a different set of patterns. The goal of homogeneity across all the ports is pretty important I think.