Tag Archive: Design Patterns

Jan 19 2009

Implementing a Generic Iterator with Function Pointers

  Abstract This article describes a powerful technique that exploits my previously outlined innovation – Function Pointers in VB Script – to build a generic mechanism having the capacity of executing components repeatedly: the generic iterator.   Introduction Executing processes repeatedly is a common theme in software development, one that is at the core of …

Continue reading »

Apr 01 2008

Factory Pattern

This article refers to design patterns, pointers and objects (discussed in the background section of this article), and classes. Make sure you’re familiar with these issues before reading on. It would also be prudent to brush up on the Singleton Pattern. We continue our tour of Design Patterns with another basic pattern – the Factory …

Continue reading »

Apr 01 2008

Singleton Pattern

This article refers to design patterns, pointers and objects (discussed in the background section of this article), and classes. Make sure you’re familiar with these issues before reading on. We begin our exploration of the world of Design Patterns with one of the simplest patterns – the Singleton. The Gang of Four eloquently summarize the …

Continue reading »

Mar 29 2008

Introduction to Design Patterns

This section relays heavily on your familiarity with basic code design concepts and approach. Make sure you read the introduction to code design before proceeding. Parts of the following introduction are rewrites (more accurately downgrades) of the preface to the groundbreaking book Design Patterns: Elements of Reusable Object-Oriented Software, written by the “Gang of four”. …

Continue reading »