O'Reilly logo

Apex Design Patterns by Anshul Verma, Jitendra Zaa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The bridge pattern

There can be situations where multiple modules of an application are being built together and changed frequently. Due to high dependency, the probability of breaking the code is prominent.

To understand this pattern, we first need to understand the problem. Assume that a web development company wants to build and launch a new web framework. To speed up the development cycle, they decide to create two teams: the Core framework and User experience (UX) team. As the name suggests the Core framework team will be responsible for designing and implementing the core of the framework and the UX team will be responsible for the user interface. Initially, it was decided that the framework will support two types of websites: Blog and

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required