错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Composing Software Using Domain-Driven Design and the Actor Model

  • Samir Halilčević,
  • Edin Pjanić,
  • Amer Hasanović

摘要

The main focus of this paper is to design and create a transparent way of translating the domain model to a software implementation by using the actor model as the programming paradigm. The main benefit of our proposal is that the resulting software implementation will have the domain handling code separated into its own layer. The software that incorporates this layer will clearly reflect the elements of the domain model. By following this strategy, we can ensure that the software and the domain model are properly aligned, and minimize the risk of issues arising from a lack of understanding of the domain by software developers. The hard part in the implementation of this method was abstracting away all non-domain-related functionalities and keeping the implementation clean and performant. In this paper, we also discussed the architectural patterns we utilized in this approach, show the practical implementation on an example, point out the benefits and drawbacks of this approach, and list ideas we have for further research.