Bookmarks tagged [design-patterns]
https://github.com/sohamkamani/javascript-design-patterns-for-humans
An ultra-simplified explanation of design patterns implemented in javascript
- tags: design-patterns, javascript, oop
- source code
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...
- 📆 published on: 2003-11-25
- tags: design-patterns, anti-patterns, domain-driven-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
https://github.com/keon/algorithms
Minimal examples of data structures and algorithms in Python.
- tags: python, algorithm, design-patterns
- source code
https://github.com/tylerlaberge/PyPattyrn
A simple yet effective library for implementing common design patterns.
- tags: python, algorithm, design-patterns
- source code
https://github.com/faif/python-patterns
A collection of design patterns in Python.
- tags: python, algorithm, design-patterns
- source code
http://www.grantjenks.com/docs/sortedcontainers/
Fast, pure-Python implementation of SortedList, SortedDict, and SortedSet types.
- tags: python, algorithm, design-patterns
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...
- 📆 published on: 2012-01-01
- tags: design-patterns, dependency-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.
- 📆 published on: 2013-06-26
- tags: design-patterns, clean-code
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 ...
- 📆 published on: 2001-11-08
- tags: design-patterns, circuit-breaker
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...
- 📆 published on: 2011-05-09
- tags: design-patterns, rest, rest-client
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
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.
- 📆 published on: 2017-04-25
- tags: design-patterns, typescript
https://www.baeldung.com/java-strategy-pattern
Implementation of Strategy design pattern in the light of Java 8 features.
- 📆 published on: 2018-04-04
- tags: java, design-patterns
- source code
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...
- 📆 published on: 2016-12-10
- tags: rxjs, design-patterns
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 ...
- 📆 published on: 2013-03-12
- tags: architecture, design-patterns
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?”
- 📆 published on: 1980-10-29
- tags: design-patterns
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
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
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
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
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
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
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...
- 📆 published on: 2014-08-05
- tags: design-patterns
https://github.com/me115/design_patterns
http://blog.csdn.net/lovelion/article/details/17517213
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
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