domain-driven-design
Validation with DDD in SOA application using IoC
In my service facade layer, I have a service class with a method/operation that accepts a DTO (data contract) object. AutoMapper is used to map this DTO into an instance of my domain object to apply a[详细]
2023-04-08 16:49 分类:问答from domain model to transaction script
The new place I started at is just starting to develop a completely new product from scratch. They are going transaction script in application services, completely dumb entities, and a hand rolled DAL[详细]
2023-04-08 09:34 分类:问答DDD and Factories
Hi I have a few questions regarding Domain Driven Design and using Factories / Factory Methods. Per the Domain Driven Design Blue Book (Eric EVan\'s Book) it states that complex constructors should be[详细]
2023-04-07 17:53 分类:问答DDD: Model local identity inside agregate root
after reading the blue book (Eric Evan\'s Domain Driven Design) and starting applying the DDD concepts in a simple blog like application I have the following question, how do you model a local identit[详细]
2023-04-07 12:17 分类:问答Enum type naming conventions in DTO's
I\'m creating an application facade in front of my domain model and using dto\'s for the exchanges between the consumer and the facade.[详细]
2023-04-07 11:10 分类:问答How does unit of work class know which repository to call on commit?
* Preface: I\'m pretty new to the unit of work pattern * My goal is to implement a unit of work class that will be able to keep track of all objects that have been changed throughout a given transact[详细]
2023-04-07 03:31 分类:问答The purpose of services in Greg Young's CQRS implementation
I decided to get acquainted with a concrete CQRS implementation on the example of Greg Young\'s implementation[详细]
2023-04-06 03:30 分类:问答DDD Aggregates and value objects
I\'d like to ask question about DDD features. Lets say we have two aggregates and each of them contains value-object Address. Accordingly to Eric Evans DDD, we should isolate aggregates from each othe[详细]
2023-04-05 19:26 分类:问答DDD: can a repository return boolean values?
Is it ok for a Repository to return boolean values based on objects it (virtually) c开发者_Python百科ontains?[详细]
2023-04-05 17:12 分类:问答Is this how I should model domain classes
In my database I have tables tblCountry and tblCity. They are in 1:N relation. In my domain project I represent them by City and Country classes. Do I realy need CountryId in city class or just Countr[详细]
2023-04-05 14:54 分类:问答