-
Notifications
You must be signed in to change notification settings - Fork 144
DDD
Mehdi Hadeli edited this page May 4, 2023
·
26 revisions
- Domain-Driven Design: Everything You Always Wanted to Know About it, But Were Afraid to Ask ⭐⭐
- DDD Beyond the Basics: Mastering Multi-Bounded Context Integration ⭐
- DDD Beyond the Basics: Mastering Aggregate Design ⭐
- How to create better code using Domain-Driven Design
- https://dev.to/salah856/implementing-domain-driven-design-part-i-5a72
- https://github.com/ddd-crew/ddd-starter-modelling-process
- DDD Part 1: Strategic Domain-Driven Design
- DDD Part 2: Tactical Domain-Driven Design
- DDD Part 3: Domain-Driven Design and the Hexagonal Architecture
- Specification Pattern vs Always-Valid Domain Model
- https://github.com/kgrzybek/modular-monolith-with-ddd
- https://github.com/ardalis/DDD-NoDuplicates
- https://github.com/vkhorikov/DddAndEFCore
- Domain Driven Design - ABP
- Entity Best Practices & Conventions
- Implementing Domain Driven Design
- https://github.com/CodelyTV/csharp-ddd-skeleton
- vaadin - ddd-part-1-strategic-domain-driven-design
- https://github.com/RailsEventStore/ecommerce
- https://github.com/pdevito3/PeakLimsApi
- Entity types with constructors
- Using Factory method instead of Constuctor
- Notes about C# records and Nullable Reference Types
- Using strongly-typed entity IDs to avoid primitive obsession
- Ordering with Multiple constructors in the Entity type
- Leaking Value Objects from your Domain ⭐
- Why we Avoid Putting Value Objects in Events ⭐
- Domain-Driven Design: Domain Events and Integration Events in .Net ⭐
- Domain-Driven Design: A Walkthrough of Building an Aggregate ⭐
- we should do validation inner factory method instead of constructor
- Kamil Twitter: If you put validation in ctor and this ctor is used by your infrastructure to instantiate your persisted object then when you change validation you could not be able to load this object. This is why FactoryMethod is better. The second reason is that method has a name, ctor not.
- Kamil Twitter:
- Pass all names as you described
- Pass all names which have the same entity name
- Pass an interface called IUniquenessChecker which will return the number of entities with that name
- Pass the function <name, number> (the same as 3 but the more functional way)
- Aggregate