Free  Understanding Design Patterns - Adapter

converts the interface of a class into another interface the clients expect. Adapter lets class work together that couldn’t otherwise because of incompatible interfaces. Today, there are 15 types of electrical outlet...

View details

Free  Understanding Design Patterns - State

Allows an object to alter its behavior when its internal state changes. The object will appear to change its class. John works as a customer support representative in a popular telephone support company. ...

View details

Free  Understanding Design Patterns - Decorator

Attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. Coffee is a constant in almost everyone's day. The caffeine shot it...

View details

Free  Understanding Design Patterns - Composite

Allows you to compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. Agnes has been working at Walmart for mor...

View details

Free  Understanding Design Patterns - Iterator

Provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation. As a store manager, Eric’s job includes checking in products from each department. ...

View details