原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
40 原书第05章|Services
object that doesn't actually represent anything, the standalone operation will not mislead anyone.
A good SERVICE has three characteristics. The operation relates to a domain concept that is not a natural part of an ENTITY or VALUE OBJECT. The interface is defined in terms of other elements of the domain model. The operation is stateless. Statelessness here means that any client can use any instance of a particular SERVICE without regard to the instance's individual history.
The execution of a SERVICE will use information that is accessible globally, and may even change th
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch05lev1sec4.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce