Proxy Design Pattern with examples

proxy design pattern overview

Introduction to Proxy Pattern Proxy design pattern falls under the structural design pattern category and it is one of the most frequently used pattern in software development. This pattern helps to control the usage and access behaviours of connected resources. A separate object called ‘proxy’ helps to build the connection between the client and the … Read more

What is Bridge Design Pattern?

Bridge Design Pattern

Bridge Design Pattern falls under the structural design pattern category. This pattern focuses on a limitation in the concept of abstraction. In the context of Java, we use inheritance to develop the concept of abstraction. Several implementation deviations support to achieve the inheritance. However, this permanently binds the implementation to the abstraction limiting the flexibility. … Read more

What is Adapter Design Pattern?

Adapter Pattern Example

Adapter design pattern falls under the category of the structural design pattern. The main intention of the Adapter pattern is to make two incompatible interfaces compatible so that two different systems can inter-communicate. Two different systems have completely different interfaces to communicate with outside. The underlying classes or objects will not change but there is … Read more

What is Facade Design Pattern?

Introduction to Facade Design Pattern Facade design pattern is another pattern from structural design pattern category. This supports loose coupling by hiding the complex details via a simple interface. This pattern introduces a component called facade, which is a simplified interface component. This facade simplifies the responsibilities of the client by standing between the complex … Read more

What is Decorator Design Pattern?

Decorator pattern Design Pattern

Decorator design pattern falls under the structural design pattern category. As the name implies, decorator pattern provides some kind of decorational effect on the original object. That is, the pattern provides the ability to add new features and behaviors to a base object without altering its existing structure. That is there will be additional features … Read more