September 1, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Working with Design Patterns: Observer

  • August 17, 2007
  • By Jeff Langr
  • Send Email »
  • More Articles »

Introducing my own custom callback interface can significantly improve readability when I have more complex callback needs.



Click here for a larger image.

observer.jpg Implementation of the observer pattern.

Reference

[Gamma] Gamma, E., et. al. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Professional, 1995.

About the Author

Jeff Langr is a veteran software developer celebrating his 25th year of professional software development. He's authored two books and dozens of published articles on software development, including Agile Java: Crafting Code With Test-Driven Development (Prentice Hall) in 2005. You can find out more about Jeff at his site, http://langrsoft.com, or you can contact him via email at jeff at langrsoft.com.





Page 3 of 3



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel