Software Design and Development :: CS 246

11 Prove

Adapter Pattern

Objectives

Introduction

The adapter pattern is extremely useful when you have two parts of your code that need to work together, but you can't modify the existing code.

Assignment

  1. Read this overview of the Adapter pattern.

  2. See this example showing the Adapter pattern being used.

  3. Take a look at the following Stack Overflow posts that show some real life examples of the Adapter pattern:

  4. Understand the difference between the Adapter pattern and the Proxy Pattern.

Make sure to complete the accompanying quiz for this assignment on I-Learn.