title: Mediator Vs Observer Object-Oriented Design Patterns
body: <p>I have been reading the <strong><a href="https://en.wikipedia.org/wiki/Design_Patterns" rel="noreferrer">Gang Of Four</a></strong>, in order to solve some of my problems and came across the <strong>Mediator</strong> pattern.</p>
  
  <p>I had earlier used <strong>Observer</strong> in my projects for making some GUI application. I am a bit confused as I do not find great difference between the two. I browsed to find the difference but could not find any apt answer for my query.</p>
  
  <p>Could some one help me to differentiate between the two with some good example which clearly demarcates the two?</p>