Talk:Mediator pattern

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing / Software (Rated Start-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.

Please correct the example. The current example misses the point of both the mediator pattern and loose coupling. The point is to send logical events (like contentUpdated) to the mediatior, which passes them on to all the other listeners. It's not necessary to have a simple message queue as in the example - there can and often there should be logic in handling the events as well. The point is that this logic is in one place only. -- (talk) 4 April 2006

The link to Mediator Pattern in Java is broken :-( -- (talk) 16 July 2008

Uml show a diamond[edit]

Uml show an ugly diamond iheritance diagram. That is dirty in developpment design.

Which of ConcreateColleagueA or ConcreateColleagueB members, ConcreateMediator must inherit ????????

This UML for this design pattern is complettely wrong ! Dont mistakes generalisation and dependancy ! —Preceding unsigned comment added by (talk) 12:58, 21 July 2008 (UTC)


Ppignol —Preceding unsigned comment added by (talk) 12:50, 21 July 2008 (UTC)

Yep, the UML is wrong[edit]

The concrete mediator should have an association relationship (arrow) to the concrete colleagues; the diagram shows an inheritance (triangle). —Preceding unsigned comment added by (talk) 00:00, 22 September 2008 (UTC)

Oh, man...[edit]

The example is simply horrible. (talk) 15:18, 18 November 2011 (UTC)

Article desperately needs improvement[edit]

The current version of the article needs an overhaul. The example is way too long and contains a lot of information that is not related with the mediator pattern at all. Also some kind of diagram is missing. The article about the Observer pattern can be a guideline as it describes with less words much better what a pattern is and how it works. --Vario (talk) 17:38, 22 March 2012 (UTC)