Please enable JavaScript.
Coggle requires JavaScript to display documents.
DESIGN_PATTERN BASIC_1 - Coggle Diagram
DESIGN_PATTERN
BASIC_1
MEMENTO
Undo
Mechanism
Structure
Editor
Originator
createState()
restore(state)
EditorState
Memento
History
Caretaker
List-EditorState
push(state)
pop()
Relationship
Depend
Editor
EditorState
Compose
History
EditorState
INTRO
Elegant
Solution
Repeating
Problems
Categories
Creational
Object
Creation
Ways
Structural
Relationship
Between
Objects
Behavioural
Interaction/Communication
Between
Objects
In-Part-1
ESSENTIALS
Coupling
Interfaces
OOP
Abstraction
Inheritance
Polymorphism
Encapsulation
UML
STATE
Tool
Based
Canvas
State
Structure
Canvas
Context
Action()
mouseUp()
request
Tool
Action()
handle
mouseUp()
State
Interface
ToolA,ToolB
ConcreteStates
Action()
handle
mouseUp()
Relationship
Compose
Canvas
Tool
Inheritance
ToolA
Tool
Principle
Open
Extension
Closed
Modification
ITERATOR
Browsing
History
Structure
BrowseHistory
push, pop
createIterator
Container
Iterator
Interface
next, current
isDone
ListIterator
Created
Inside
BrowseHistory
Relationship
Depend
BrowseHistory
Iterator
Inheritance
ListIterator
Iterator
STRATEGY
Storing
Images
With
Compression
Filter
Structure
ImageStorage
Context
compressor/filter
store()
Compressor/Filter
Strategy
Interface
compress()/apply()
PngComp,JpegComp
ConcreteStrategyA,B
compress()/apply()
Doing
Same
Thing
Differently
Vs-State
Similar
Change
Behaviour
Difference
State
State
Dependent
Behvaiour
Encapsulates
Strategy
Algorithm
Relationship
Compose
ImageStorage
Compressor/Filter
Inheritance
JPG/PNGCompressor
Compressor