[go: up one dir, main page]

0% found this document useful (0 votes)
61 views6 pages

Design Patterns

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1/ 6

Introduction Design Principles

Abstract Factory Pattern


Definition
Provides an interface for creating families of

related or dependent objects without specifying concrete classes.

Structure

Singleton Pattern
Definition
Ensure a class only has one instance and

provide a global point of access to it.

Structure

Builder Pattern
Definition
Separate the construction of a complex object

from its representation so that the same construction process can create different representations.

Structure

Prototype Pattern
Definition
Specify the kinds of objects to create using a

prototypical instance and create new objects by copying this prototype.

Structure

Adapter Pattern
Definition
Convert the interface of a class into another

interface clients expect. Lets classes work together that couldn't otherwise because of incompatible interfaces.

Structure

You might also like