Facade Design Pattern
The Facade Design Pattern provides a unified interface to a set of interfaces in a subsystem. It defines a higher level interface that makes the subsystem easier to use.
The Facade Design Pattern provides a unified interface to a set of interfaces in a subsystem. It defines a higher level interface that makes the subsystem easier to use.
The Adapter Design Pattern converts an interface into another interface that the clients expect. It adapts an interface to look like a different interface.
The Template Method Design Pattern defines the steps of an algorithm and allows subclasses to provide the implementation for one or more steps.
This post explores the differences between the Proxy Design Pattern and the Decorator Design Pattern.
The Proxy Design Pattern provides a surrogate or placeholder for another object to control access to it. It acts as a stand-in for another object.
The Decorator design pattern attaches additional responsibilities to an object dynamically. It is an alternative to subclassing for extending functionality.
The Observer Design Pattern enables the subject to notify its observers when its state changes. In this post, we implement it using Java’s Observable class.
The Observer Design Pattern defines a one-to-many dependency between objects so that when the subject’s changes state, all of its observers are notified.
The Iterator Design Pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
The Abstract Factory Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes.