Related Patterns

[Previous] [Next]

A Bridge design pattern closely resembles an Adapter design pattern, discussed in Chapter 4. Like the Adapter, the Bridge supports an interface expected by the client and delegates client requests to other objects that carry out the task. The Bridge and the Adapter differ in their intentions. The Adapter's purpose is to tie an interface expected by a client to an implementation that would otherwise be inaccessible because of incompatible interfaces. On the other hand, the Bridge's purpose is to loosen the bind between interface and implementation so that a change to one has no direct impact on the other.



Microsoft Visual Basic Design Patterns
Microsoft Visual Basic Design Patterns (Microsoft Professional Series)
ISBN: B00006L567
EAN: N/A
Year: 2000
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net