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

0% completed

Adapter Pattern
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

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!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible