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 almost 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

Computer Hardware
cscutt
A2 Geography- Energy Security
sophielee0909
GCSE PHYSICS: Energy Transfer
magykman1998
The structure of the Heart, AS Biology
mill-bill
Atomic Structure
Jenni
Geography - Case Studies
jacobhatcher97
GCSE geography natural environment
Archie Horwood
5 Tips for motivating your students
Jen Molte
Atomic Structure
dpr898
TÂM LÍ HỌC ĐẠI CƯƠNG
Nguyễn Nguyên Nh
DEV I Part II
d owen