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

Jekyll and Hyde
elliesussex
Additional Chemistry - Topic 1: Atomic Structure and the Periodic Table
Hollieee01
The First, Second, Third and Fourth Crusades
adam.melling
B6 - Brain and Mind OCR
franimal
computer systems and programming quiz
Molly Batch
F211: Transport in animals keywords and info
Gurdev Manchanda
Main Themes in Romeo and Juliet
Carlowl
Peace and Conflict Flashcards - Edexcel GCSE Religious Studies Unit 8
nicolalennon12
Meiosis vs. Mitosis
nvart00
chemistry: c2
kristy baker
Physics P1
themomentisover