← 返回卡片

原书出处

Learning Domain-Driven Design

08 架构模式

First Edition · 核验版本的摘录快照 · 导入于 2026-10-23T15:45:15.820Z

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