Загрузка...

How To Make The Command Pattern More Flexible With One Simple Change

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.

In this video, I revisit the command pattern and show you one change that makes this pattern really flexible: going from the state being the ground truth to the transactions being the ground truth.

The code I worked on in this example is available here: https://github.com/ArjanCodes/2021-command-transactions.

Part 1 of this miniseries: https://youtu.be/FM71_a3txTo.

🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/

🔖 Chapters:
0:00 Intro
1:02 Recap of last week's example
2:45 States vs. transactions
4:05 Using transactions as the ground truth
10:23 Simplifying the undo/redo mechanism
12:02 Changing the balance value to a cache
15:03 More examples of transaction-based systems

#arjancodes #softwaredesign #python

Видео How To Make The Command Pattern More Flexible With One Simple Change канала ArjanCodes
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять