原书出处
Learning Domain-Driven Design
08 架构模式
The service layer acts as a façade for the business logic layer: it exposes an interface that corresponds with the public interface’s methods, encapsulating the required orchestration of the underlying layers. For example: interface CampaignManagementService { OperationResult CreateCampaign(CampaignDetails details); OperationResult Publish(CampaignId id, PublishingSchedule schedule); OperationResult Deactivate(CampaignId id); OperationResult AddDisplayLocation(CampaignId id, DisplayLocation newLocation); ... } All
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch08.html
EPUB SHA-256:da8d47219d6910f6431498e98b9fadfbdadc1cb0e3004bae825392a2c6abc846