module 2 SA & DP (1)
module 2 SA & DP (1)
Structural patterns:
Adapter Pattern:
Bridge Patterns:
Composite Patterns:
Decorator Patterns:
Facade Patterns:
A Facade Pattern says that just "just provide a unified
and simplified interface to a set of interfaces in a subsystem,
therefore it hides the complexities of the subsystem from the
client". Facade Pattern describes a higher-level interface that
makes the sub-system easier to use. Practically, every Abstract
Factory is a type of Facade.
Flyweight Patterns:
A Flyweight Pattern says that just "to reuse already existing
similar kind of objects by storing them and create new object
when no matching object is found". Flyweight design pattern is a
structural pattern that focuses on optimizing memory usage by
sharing a common state among multiple objects. It aims to reduce the
number of objects created and to decrease memory footprint,
particularly useful when dealing with a large number of similar
objects.
Proxy Patterns: