Design Patterns

Design patterns are a group of collaborating Objects/Classes that can be abstracted from a general set of modeling scenarios. They are also known as parameterized collaborations.

Design patterns are an excellent means of achieving re-use and building in robustness. As patterns are discovered in any new project, the basic pattern template from previous engagements can be re-used with the appropriate variable names modified for the current project.

Patterns generally describe how to solve an abstract problem, and it is the task of the pattern user to modify the pattern elements to meet the demands of the current engagement.

Before using a pattern it must first be created as a standard UML diagram and then saved as an XML pattern file. This XML file can then be imported as a resource that can be used in any model.

Sparx-Created GoF Patterns:

To help you start using design patterns in Enterprise Architect, Sparx Systems provides you with an MDG technology for the patterns described in the book Design Patterns - Elements of Reusable Object-Oriented Software by Gamma et al., referred to as the 'Gang of Four' or GoF. These patterns are made available through  a set of Toolbox pages.

Notes

You can transport all Patterns listed in the Resources window between projects, using the Export Reference Data and Import Reference Data options

Learn more