阅读背景:

使用与域实体的一对一接口是好还是坏的做法?为什么?

来源:互联网 

One thing I see in some DDD enterprise apps that I work on, is the use of interfaces that are identical to the domain entities, with a one-to-one mapping of properties and functions. Indeed a domain object is always used through it's one-to-one interface, and all domain entities have a one-to-one interface in this style.One thing I see in some DDD enterprise apps tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: