Jump to ratings and reviews
Rate this book

The Gang of Four Design Patterns Simplified: All the 23 design patterns explained in simple language with use cases and java code.

Rate this book
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

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.

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.

BehavioralDeals 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.

290 pages, Kindle Edition

Published October 27, 2021

19 people are currently reading
18 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
4 (44%)
4 stars
1 (11%)
3 stars
1 (11%)
2 stars
2 (22%)
1 star
1 (11%)
Displaying 1 of 1 review
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.