Grokking Design Patterns for Engineers and Managers
Ask Author
Back to course home

0% completed

Vote For New Content
Adapter Pattern
On this page

Adapter Pattern is used when we have to make a relationship between two incompatible interfaces so that they can work together.

Assume that you are creating an application for weather forecasting. Your application collects weather information from several sensors in a proprietary binary format, which you display on a user-friendly interface. The following figure shows different components of this application.

You choose to incorporate an advanced, third-party weather forecast system into your app to increase its accuracy

.....

.....

.....

Like the course? Get enrolled and start learning!

On this page