Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Observer Pattern  (Read 4886 times)
Gradiation
Port to CSharp
Full Member
*
Posts: 41


View Profile Email
« 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?

Matt
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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.

-=Cliff>

Logged
Pages: [1]
Print