design-patterns.md
July 15, 2021 · View on GitHub
Bookmarks tagged [design-patterns]
www.codever.land/bookmarks/t/design-patterns
sohamkamani/javascript-design-patterns-for-humans
https://github.com/sohamkamani/javascript-design-patterns-for-humans
An ultra-simplified explanation of design patterns implemented in javascript
- tags: design-patterns, javascript, oop
- :octocat: source code
AnemicDomainModel
https://www.martinfowler.com/bliki/AnemicDomainModel.html
The basic symptom of an Anemic Domain Model is that at first blush it looks like the real thing. There are objects, many named after the nouns in the domain space, and these objects are connected with...
- :calendar: published on: 2003-11-25
- tags: design-patterns, anti-patterns, domain-driven-design
The Principles of Agile Design
https://www.infoq.com/presentations/principles-agile-oo-design/
Bob Martin of Object Mentor presents the first of his five principles of agile design. Beginning with an explanation of the real purpose of object-oriented design - the management of dependencies - Bo...
- tags: design-patterns, software-architecture, oop
algorithms
https://github.com/keon/algorithms
Minimal examples of data structures and algorithms in Python.
- tags: python, algorithm, design-patterns
- :octocat: source code
PyPattyrn
https://github.com/tylerlaberge/PyPattyrn
A simple yet effective library for implementing common design patterns.
- tags: python, algorithm, design-patterns
- :octocat: source code
python-patterns
https://github.com/faif/python-patterns
A collection of design patterns in Python.
- tags: python, algorithm, design-patterns
- :octocat: source code
sortedcontainers
http://www.grantjenks.com/docs/sortedcontainers/
Fast, pure-Python implementation of SortedList, SortedDict, and SortedSet types.
- tags: python, algorithm, design-patterns
The One Correct Way to do Dependency Injection
http://blog.schauderhaft.de/2012/01/01/the-one-correct-way-to-do-dependency-injection/
A couple of weeks ago a coworker told me that they have a little utility in their projects in order to set private fields for tests. He kind of claimed they needed that since they are using Spring, wh...
- :calendar: published on: 2012-01-01
- tags: design-patterns, dependency-injection
Why I Changed My Mind About Field Injection?
https://www.petrikainulainen.net/software-development/design/why-i-changed-my-mind-about-field-injec...
I used to be a huge fan of field injection. But one day I started to question myself. Could it be possible that I have been mistaken? Let’s find out what happened.
- :calendar: published on: 2013-06-26
- tags: design-patterns, clean-code
Making the Netflix API More Resilient – Netflix TechBlog – Medium
https://medium.com/netflix-techblog/making-the-netflix-api-more-resilient-a8ec62159c2d
The API brokers catalog and subscriber metadata between internal services and Netflix applications on hundreds of device types. If any of these internal services fail there is a risk that the failure ...
- :calendar: published on: 2001-11-08
- tags: design-patterns, circuit-breaker
Tolerant Reader
https://martinfowler.com/bliki/TolerantReader.html
In the case of collaborating services, one of the stickiest points is evolution. Although there are some people who believe that you should just get your service definitions right first time so you ne...
- :calendar: published on: 2011-05-09
- tags: design-patterns, rest, rest-client
Refactoring and Design Patterns
Refactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles and other smart programming topics.
- tags: refactoring, design-patterns
Adapter (TypeScript Design Patterns) - YouTube
https://www.youtube.com/watch?v=beU4i949YXU
The adapter pattern allows you to make different classes with different interfaces work together, without changing their source code.
- :calendar: published on: 2017-04-25
- tags: design-patterns, typescript
Strategy Design Pattern in Java 8
https://www.baeldung.com/java-strategy-pattern
Implementation of Strategy design pattern in the light of Java 8 features.
- :calendar: published on: 2018-04-04
- tags: java, design-patterns
- :octocat: source code
On The Subject Of Subjects (in RxJS) – Ben Lesh
https://medium.com/@benlesh/on-the-subject-of-subjects-in-rxjs-2b08b7198b93
Subjects in RxJS are often misunderstood. Because they allow you to imperatively push values into an observable stream, people tend to abuse Subjects when they’re not quite sure how to make an Observa...
- :calendar: published on: 2016-12-10
- tags: rxjs, design-patterns
Design Patterns: PubSub Explained – CodeKraft
https://abdulapopoola.com/2013/03/12/design-patterns-pub-sub-explained/
I actually wanted to write about PubSub alone: it’s a fascinating design pattern to me however, the thought occurred to me, why not write a design patterns’ series? It’ll be good knowledge for me and ...
- :calendar: published on: 2013-03-12
- tags: architecture, design-patterns
Observer vs Pub-Sub pattern – Hacker Noon
https://hackernoon.com/observer-vs-pub-sub-pattern-50d3b27f838c
I was once asked in an interview, “what is the difference between Observer pattern and Pub-Sub pattern?”
- :calendar: published on: 1980-10-29
- tags: design-patterns
Sidecar pattern | Microsoft Docs
https://docs.microsoft.com/en-us/azure/architecture/patterns/sidecar
Deploy components of an application into a separate process or container to provide isolation and encapsulation.
- tags: architecture, design-patterns, microservices
Template method pattern - Wikipedia
https://en.wikipedia.org/wiki/Template_method_pattern
What problems can the Template Method design pattern solve? [4]
- The invariant parts of a behavior should be implemented only once so that subclasses can implement the variant parts.
- Subclasses sh...
- tags: design-patterns, clean-code
The Principles of OOD - Object Oriented Design
http://www.butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod
The first five principles are principles of class design. The first three package principles are about package cohesion, they tell us what to put inside packages. The last three principles are about t...
- tags: clean-code, design-patterns
Single responsibility principle - Wikipedia
https://en.wikipedia.org/wiki/Single_responsibility_principle
The single responsibility principle is a computer programming principle that states that every module or class should have responsibility over a single part of the functionality provided by the so...
- tags: clean-code, design-patterns
API gateway pattern
http://microservices.io/patterns/apigateway.html
Implement an API gateway that is the single entry point for all clients. The API gateway handles requests in one of two ways. Some requests are simply proxied/routed to the appropriate service. It han...
- tags: design-patterns, api-gateway, api
Delegation pattern - Wikipedia
https://en.wikipedia.org/wiki/Delegation_pattern
Delegation is a way to make composition as powerful for reuse as inheritance [Lie86, JZ91]. In delegation, two objects are involved in handling a request: a receiving object delegates operations t...
- tags: design-patterns
The Single Responsibility Principle | 8th Light
https://8thlight.com/blog/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html
When you write a software module, you want to make sure that when changes are requested, those changes can only originate from a single person, or rather, a single tightly coupled group of people repr...
- :calendar: published on: 2014-08-05
- tags: design-patterns
图说设计模式
https://github.com/me115/design_patterns
史上最全设计模式导学目录
http://blog.csdn.net/lovelion/article/details/17517213
Reactor pattern - Wikipedia
https://en.wikipedia.org/wiki/Reactor_pattern
The reactor design pattern is an event handling pattern for handling service requests delivered concurrently to a service handler by one or more inputs. The service handler then demultiplexes the inco...
- tags: design-patterns
Factory (object-oriented programming) - Wikipedia
https://en.wikipedia.org/wiki/Factory_(object-oriented_programming)
In object-oriented programming (OOP), a factory is an object for creating other objects – formally a factory is a function or method that r...
- tags: basic-knowledge, oop, design-patterns