I\'ve been reading both definitions and they seem quite the same. Could anyone point out what are their differences?
Thanks
I've been reading both definitions and they seem quite the same.
Really ?
I have noticed that the term Adapter is sometimes used to describe what is in fact a Stategy, maybe because the word is more expressive.
For example, in Zend Framework, all the Adapter classes are in fact implementations of the Strategy pattern, because they only wrap native code behind classes, to have several behaviours.
Adapters are often used to wrap legacy or "old-style" code.