Notifiers make anonymous communication between objects in a system possible. They are also easy to understand, providing a seamless migration as new developers are introduced to a project. This article describes the design and implementation of Notifiers in C++.
Latest Patterns Articles
Gain an overview on what a design pattern is and how they employed in developing MFC library.
Provides a very fine C++ implementation of the Observer Pattern (implementing cyclic updates, self reference, etc.)
This C++ tutorial shows you how to avoid object dependencies using the Observer Pattern, and explains when and why the Observer Pattern is needed, its benefits and liabilities.
Applying Strategy Pattern in C++ Applications
Bridge Pattern - Bridging the gap between Interface and Implementation
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Discover (Rediscover?) an image-manipulating tool that's been around for ages, but is especially suited to working within the .NET framework.
The concepts of boxing and unboxing data might be second nature for many, but for newbies it's worth covering. And, the "old hands" may learn something new, as well.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!