你的位置: 码友网首页 / 资讯源列表 / Domain-Driven Refactoring: Defactoring and Pushing Behavior Down

关于[Domain-Driven Refactoring: Defactoring and Pushing Behavior Down]的摘要:

In the last post, we looked at our procedural handler and pulled behavior out that called to external services into its own domain service. This let our handler become more unit testable by creating a test seam, and we could now alter the behavior of the abstraction through mocks/stubs etc.

原文地址: https://jimmybogard.com/domain-driven-refactoring-defactoring-and-pushing-behavior-down/

收录时间: 2021-08-09 浏览量: 1300 分类: 架构设计

| 2 收藏 | 0