Is this an EventAggregator?

Jan 10, 2013 at 3:49 AM

After reading the description and looking at the documentation I'm wondering how this is different from an EventAggregator.

It also seems pretty complicated to get setup, not military simple.

Coordinator
Jan 10, 2013 at 6:57 AM

thanks and congratulations - you've started the first discussion :-)

I have just googled for EventAgregator and one of the results is in the Prism framework.

http://msdn.microsoft.com/en-us/library/ff921122%28v=pandp.20%29.aspx

I don't know Prism but the principle could be simmilar. Some components are publishers and some are subscribers. Additionally MCM uses command pattern for asynchronous operations.

Writing "military simple" I mean there is no sophisticated logic in the framework and the configuration effort is minimized. However even a hello world demo requires three layers (UI, component and worker).

1. UI posts a request message

2. Component handles the request and executes a command

3. After the command is executed the component posts a response message

Due to this three step pattern (Message-Command-Message) you can build modular applications of any size. After some exercise you'll see - it's really military simple.

There is an article presenting the hello world.

http://www.codeproject.com/Articles/519818/Building-professional-NET-applications-using-async

and a video tutorial if you prefer watching instead typing

http://www.mcm-framework.net/en/tutorial/

thanks againg for your interest ;-)

Jan 10, 2013 at 9:02 PM

I do remember the EventAggregrator in Prizim now that you mention it. Buts it a pretty common utility in most MVVM frameworks... See : http://jounce.codeplex.com/wikipage?title=Event%20Aggregator&referringTitle=Documentation