
Software Design – The Bridge Pattern
The Bridge Pattern is commonly configured but often due to templates and generators rather than understanding the true intent. Since it is more of a design than code implementation, it can be easily missed. Nevertheless, it is one we often have available and should probably take advantage of more often. The Bridge Pattern Defined As always, we will start with the “Gang of Four” intent to set the stage for our discussion. “Decouple an abstraction from its implementation so that the two can vary independently.” This is simple and easy to see in code. How often have you seen (for example) an interface and then a class that is the implementation of it? I have worked on numerous Spring applications that follow this pattern... Read more