title: Difference between Observer Pattern and Event-Driven Approach
body: <p>I always found the Observer Pattern almost similar to the usual event-driven approach. Actually, I have almost believed that they are actually just different names referring to the same thing. They both use similar concepts to have something as a listener and even in the implementation, they are almost the same thing, that's to have a callback method/function to carry out an action. This is at least in Java.</p>
  
  <p>In other languages say Actionscript/Flex, the events are more user-friendly and may look like it does more than just the observer pattern defines. But still, the concepts sound the same.</p>
  
  <p>But is this really true? Is the Observer Pattern the same thing as the usual event-driven programming style?</p>