Design Pattern Part – 4


Bridge Pattern The bridge pattern is a design pattern used in software engineering which is meant to "decouple an abstraction from its implementation so that the two can vary independently".[1] The bridge uses encapsulation, aggregation, and can use inheritance to separate responsibilities into different classes.   A bridge is a structural pattern that influences the … Continue reading Design Pattern Part – 4

Advertisements

Design Patterns Part – 2


Abstract Factory A factory class helps us to centralize the creation of classes and types. Abstract factory helps us to bring uniformity between related factory patterns which leads more simplified interface for the client. Abstract factory expands on the basic factory pattern. Abstract factory helps us to unite similar factory pattern classes in to one … Continue reading Design Patterns Part – 2