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

Free  Understanding Design Patterns - Strategy

Defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it. Commuting is a part of our daily lives. Every day, when ...

View details

Free  Understanding Design Patterns - Template Method

Defines the skeleton of an algorithm in a method, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure. ...

View details

Free  Understanding Design Patterns - Command

Encapsulates a request as an object, thereby letting you parameterize other objects with different requests, queue or log requests, and support undoable operations. Battles are meant to be won, and no battle can be w...

View details