Skip to content

Instantly share code, notes, and snippets.

View Bernardstanislas's full-sized avatar
🛫
Taking off

Stanislas Bernard Bernardstanislas

🛫
Taking off
View GitHub Profile

Dojo CQRS ⭐

Notes

  • Carte 1 Dans la checklist, I have made a copy of the repository est confusant, je pense que tu parlais du Board Trello. Aussi, ajoute un check comme quoi le mec est bien en train de modifier son board et non pas le board de base. Peut-être mettre les mecs en lecture seule ?
  • Carte 2 Pourquoi les $ au début de chaque commande ?
  • Carte 15 Pas testé pour VSCode, pour Phpstorm c'était assez simple, j'ai suivi Running and Debugging Node.js - Help | PhpStorm avec les paramètres du package.json (node-parameters: --inspect-brk -r ts-node/register -r tsconfig-paths/register)
  • Carte 3 Tu appelles ta route /articles, mais la

Strategy design pattern

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from the clients that use it. Capture the abstraction in an interface, bury implementation details in derived classes.

A Strategy defines a set of algorithms that can be used interchangeably. Modes of transportation to an airport is an example of a Strategy. Several options exist such as driving one's own car, taking a taxi, an airport shuttle, a city bus, or a limousine service. Any of these modes of transportation will get a traveler to the airport, and they can be used interchangeably.

Keybase proof

I hereby claim:

To claim this, I am signing this object: