Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudheerj/design-patterns
JavaScript(Vanilla/ES6/TypeScript) and Java (GoF) design patterns
https://github.com/sudheerj/design-patterns
design-patterns gof-patterns java javascript typescript
Last synced: 13 days ago
JSON representation
JavaScript(Vanilla/ES6/TypeScript) and Java (GoF) design patterns
- Host: GitHub
- URL: https://github.com/sudheerj/design-patterns
- Owner: sudheerj
- Created: 2020-04-18T13:01:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-24T02:55:16.000Z (3 months ago)
- Last Synced: 2024-08-24T03:42:53.283Z (3 months ago)
- Topics: design-patterns, gof-patterns, java, javascript, typescript
- Size: 1000 Bytes
- Stars: 85
- Watchers: 4
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# design-patterns
JavaScript(Vanilla/ES6/TypeScript) and Java (GoF) design patternsA design pattern is a general repeatable/reusable solution to a commonly occurring problem with a given context in software design. It can be treated as a description or template for how to solve a problem that can be used in many different situations.
## Creational
- Singleton
- Factory Method/Factory
- Abstract Factory
- Builder
- Prototype## Structural
- Adapter
- Bridge
- Composite
- Decorator
- Flyweight
- Proxy
- Facade## Behavioral
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor## Backend communication design patterns
1. Request response
2. push
3. short polling
4. long polling
5. Server Sent Events
6. Publish Subscribe(Pub/Sub)
7. Multiplexing and Demultiplexing
8. Stateful and Stateless
9. Sidecart pattern