Question

I would like to clarify the role of the "publisher" in the Event Aggregator design pattern.

My current solution handles .NET data events, such as XmlNode events occuring in a XmlDocument.

Question: In the Event Aggregator design pattern, what is considered the publishers?

Was it helpful?

Solution

In Event Aggregator pattern, you have you types of publishers:

  1. Source of events which the aggregator is an observer/subscriber to,
  2. The aggregator itself, which has it's own subscribers

So your data sources are publishers.

take a look to this short article by Martin Fowler:

http://martinfowler.com/eaaDev/EventAggregator.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top