Blog Archives

Entries Tagged as 'Adapter Pattern'

My First attempted at the "The Adapter Pattern/Wrapper Pattern"

 

A friend of mine turned me on to a new pattern that I think I will be using more in the future "The Adapter Pattern/Wrapper Pattern".

Intent

  • Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces.
  • Wrap an existing class with a new interface.
  • Impedance match an old component to a new system

--Source http://sourcemaking.com/design_patterns/adapter

 

Read more...