Factory Method Design Pattern

Publication: C++ Builder Developer's Journal
Issue: Volume 8, Number 11, November 2004

In this 3 page article I consolidate the information provided in my 2 introductory articles on design patterns and present the reader with their first pattern, the Factory Method.

In my previous two articles I introduced the base classes that we’ll use for exploring various Design Patterns. If you haven’t already done so, I would recommend reading those two articles [1][2] before continuing with this one. The articles provide necessary background information on the design and development of the classes, and on how they’ll be used to implement various patterns.