Archive for the 'Creates' Category

ActionsScript 3.0 Design Pattern Relations Part IV: Creation

Creates Relationship

Creates Relationship

One of the least discussed relations in Design Patterns is where one participant creates an instance of another. Basically, the pattern calls for one class to instantiate another class. This relationship is indicated by a broken line with an arrowhead pointing to the class that has been instantiated. (The Participant Relations diagram above shows Class C instantiating (creates) Class F with the red broken line and arrow.) The creates relationship is found in only five design patterns:

This post examines how design patterns incorporating a creates relationship uses that relationship to make a loosely structured design to complete one or more kinds of tasks.
Continue reading ‘ActionsScript 3.0 Design Pattern Relations Part IV: Creation’