This pattern allows 2 components, a client  and service  to work together with each having its interface. The main goal is to write better code with two levels of abstraction. A good example of Bridge Pattern  would be an application (client) and a database driver (service) , the application writes to a well-defined database API, but you will find that each driver’s implementation is different for each database vendor (SQL, MySQL, Oracle, etc).


  • Bugs are easy to locate
  • Easy to maintain code for other team members
  • Decoupling abstractions allows pieces to be independently managed
  • Applications are less likely to crash


The Bridge & Facade Design Patterns in JavaScript
1.10 GEEK