Should you use the Repository Pattern? With CQRS, Yes and No!
Автор: CodeOpinion
Загружено: 2021-10-27
Просмотров: 50032
Описание:
The repository pattern is polarizing. Some developers swear you should always use it to abstract data access logic while others think it's unnecessary if you're using an ORM. So should you use it? My answer is Yes and No! If you're applying CQRS and Vertical Slice Architecture you'll likely want a repository to build up Aggregates. However, for a Query, you may want to just get the data you need rather than an entire aggregate (or collection of aggregates) to build a view model.
🔗 EventStoreDB
https://eventsto.re/codeopinion
🔔 Subscribe: / @codeopinion
💥 Join this channel to get access to source code & demos!
/ @codeopinion
🔥 Don't have the JOIN button? Support me on Patreon!
/ codeopinion
📝 Blog: https://codeopinion.com
👋 Twitter: / codeopinion
✨ LinkedIn: / dcomartin
0:00 Intro
0:56 CQRS & Vertical Slices
4:23 Query
7:16 Command
#softwarearchitecture #domaindrivendesign #cqrs
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: