Daniel Høyer Jacobsen

Decorator-Pattern-Whiteboard - INTEGU

Decorator Pattern

The reasoning for using the Decorator Pattern is to obtain the advantages of class inheritance within a dynamic context. (aka. at runtime.) This allow objects to add and remove additional features while the program is running instead of specifically declaring it when the program compiles.

INTEGU - Factory-Design-Pattern-Overview

Factory Pattern

As arguably the most popular creational design pattern, the factory pattern provides guidelines for how to flexibly and conveniently create different objects with the same method, by only changing the method’s argument. Utilizing the factory pattern in the creation of objects allows all complexities of the creation to be hidden away. Simultaneously the factory can be designed to create any variation of an object, as long as all objects extend from the same super-class.

observer-design-pattern-overview-INTEGU

Observer Pattern

The Observer Pattern is a frequently used and very practical design pattern. Mastering this pattern will probably be a great help for any developer. As a behavioral pattern, the observer pattern provides one object with a loosely couple method of informing multiple objects of property changes.

strategy-design-pattern-overview-INTEGU

Strategy Pattern

The Strategy Pattern (aka. Policy Pattern), is perhaps one of the most simple design patterns of all. However, just because it is considerably simpler than other patterns does not mean that it is less valuable. Perhaps even the opposite. As a Behavioral Pattern, the strategy pattern provides objects with the ability to change their behavior (aka. strategy). 

Scroll to Top
INTEGU - Cookie-consent

INTEGU uses cookies to personalize your experience and provide traceability for affiliate links. By using the website, you agree to these terms and conditions. To learn more see the privacy policy page.