Subscribing and publishing events – Event Aggregator at the rescue!
In our current application, we have different components and views. Some of them need to retrieve data from the server, others just need to process data provided for other components, and yet others just help our user interface be more elegant and understandable. Okay, all looks good at this point. Note that at this point, our application supports different kinds of processing—data load, transformation, and how this is displayed. Each one implies a different cost of performance, and because of that one could take longer than others. That being said, let's describe a common scenario—the user enters our application and navigates to the page listing all the matches for this month. There is a lot of data to be retrieved, and you need to calculate the time between today and the match date (for each one).
The time remaining for the cost of all of this operation will depend on the amount of data returned by the server, so you need...