https://github.com/neimat1/design-patterns
Some Design Patterns with it's implementation in java
https://github.com/neimat1/design-patterns
java
Last synced: 3 months ago
JSON representation
Some Design Patterns with it's implementation in java
- Host: GitHub
- URL: https://github.com/neimat1/design-patterns
- Owner: Neimat1
- Created: 2022-11-16T23:30:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T23:43:22.000Z (6 months ago)
- Last Synced: 2025-01-25T09:42:08.350Z (4 months ago)
- Topics: java
- Language: Java
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design-Patterns
Some Design Patterns with it's implementation in java## Catalog
* ### Behavioral Patterns
* #### Command
turns a request into a stand-alone object that contains all information about the request.
This transformation lets you pass requests as a method arguments, delay or queue a request’s execution, and support undoable operations.
* #### Observer
define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing.
* ### Creational Pattern
* #### Factory
provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
* ### Structural Patterns
* #### Facade
provides a simplified interface to a library, a framework, or any other complex set of classes.
* #### Adapter
allows objects with incompatible interfaces to collaborate.
* #### Composite
lets you compose objects into tree structures and then work with these structures as if they were individual objects.
* #### Bridge
lets you split a large class or a set of closely related classes into two separate hierarchies
—abstraction and implementation—which can be developed independently of each other..
##### Resources:
* https://learning.oreilly.com/videos/learn-java-design/9781800567320/
* https://refactoring.guru/design-patterns
* https://www.geeksforgeeks.org/adapter-pattern/
* https://www.geeksforgeeks.org/composite-design-pattern/
* https://www.tutorialspoint.com/design_pattern/facade_pattern.htm
* https://www.tutorialspoint.com/design_pattern/bridge_pattern.htm