

The Gang of Four Design Patterns are often hard to get . This book provides an easier explanation of all the 23 design patterns with use cases implemented in Java and with link to GitHub. Topics covered: Creational : Deals with how to create objects. Singleton โ Create a single instance of an object. Prototypeโ Use an existing object by cloning it. Factory Method โ Delegate creation of an object to another object. Abstract Factory โ Delegate creation of a group of related objects to another object. Builder โ Delegate creation of a complex object to another object. Structural: Deals with how to structure objects. Adapter โ Make two incompatible interfaces work together. Bridge โ Separate abstraction and implementation. Composite โ Treat part-whole hierarchy the same way. Decorator โ Add responsibilities to an object dynamically. Facade โ Provide a single interface for a group of related operations. Flyweight โ Reuse objects than creating new ones. Proxy โ Protect access to an object. Behavioral Deals with how to communicate between objects. Chain of Responsibility โ Allow different objects to carry out a responsibility. Command โ Encapsulate requests as separate objects. Mediator โ Act as a broker for communication between objects. Template โ Provide basic template of an algorithm to implement. Strategy โ Encapsulate different algorithms using separate objects which can be chosen at run time. State โ Encapsulate state specific behavior in a separate object. Observer โ Intimate group of objects when a change occurs. Memento โ Allow to revert an objectโs state. Iterator โ Provide a generic way to iterate through collection of objects. Interpreter โ Represent a grammar using an object. Visitor โ Add new responsibilities to an object without changing its existing behavior. Note : The original book by the Gang of Four was referred for these posts.
| Asin | B09KN7X2C7 |
| Dimensions | 6 x 0.65 x 9 inches |
| Isbn 13 | 979-8755588317 |
| Item Weight | 1.1 pounds |
| Language | English |
| Print Length | 288 pages |
| Publication Date | October 28, 2021 |
| Publisher | Independently published |
Trustpilot
2 months ago
1 month ago