Object design and design patterns

Description

Flashcards on Object design and design patterns, created by Mikael Caselitz on 04/09/2019.
Mikael Caselitz
Flashcards by Mikael Caselitz, updated more than 1 year ago
Mikael Caselitz
Created by Mikael Caselitz about 5 years ago
1
0

Resource summary

Question Answer
Implementation inheritance vs. delegation I. i.: extending a base class by a new operation or overriding an existing operation D.: Catching operation and sending it to another object
Algorithm vs. pattern A.: - Solving problem finite sequence of well defined instructions P.: - Described problem -> occurs over and over again - Describes the core of the solution - Use solution million times without doing it same way twice
Modelling a pattern in UML Solution must be applicable to more than one specific problem
Composite Pattern Lets a client threat individual objects and groups
Strategy Pattern Situations with different algorithms for different tasks Specific algorithm is chosen at runtime based on policy used in application
Proxy Pattern
Observer Pattern (MVC Architectural Style) System should maintain consistency across views, whenever state of observed object changes System design should be highly extensible
Adapter Pattern Allows the simplified reuse of existing components
Façade Pattern
Bridge Pattern Bridge pattern allows to delay the binding between a interface and its implementation
State Pattern Concrete State provides own implementation for a request
Show full summary Hide full summary

Similar

A2 Geography- Water Conflicts
sophielee0909
A2 Geography-Biodiversity under threat
sophielee0909
Spanish connectives and a few key phrases
emdrakeley
Maths GCSE - What to revise!
sallen
HRCI Glossary of Terms A-N
Sandra Reed
Chemistry C1
Phoebe Drew
Key Biology Definitions/Terms
jane zulu
PSBD TEST 2-2
Suleman Shah
Chemistry Rates of Reaction Revision
11mzroser
The Nervous System and Hormones (Part 1)
Naomi Science
Mapa Mental Planificación estratégica
Verny Fernandez