Professional Documents
Culture Documents
Bridge Pattern: " Decoupling An Abstraction From Its Implementation "
Bridge Pattern: " Decoupling An Abstraction From Its Implementation "
Jang, Taeksoon
(NHN NEXT)
[ Requirement 1 ]
“ I need a program
that can draw circles and rectangles. “
[ Requirement 2 ]
in progress....
[ Requirement 3 ]
Implementation Client
- GUI Framework
Separate Window abstraction from
Window implementation
for Linux, Windows, or Mac OS.
Adapter
- meant to change the interface of an existing object
- intended to make unrelated classes work together
- My Code + Someone else’s Code
Bridge
- intended to decouple abstraction from its implementation
- Entirely My Code and My Structure