4 Aralık 2020 Cuma

Domain Driven Design - Domain Services

Giriş
Açıklaması şöyle.
Domain Services contain operations, actions, or business process and provide the functionality that the domain needs. It deals with all the domain-related manipulation.
Bir başka açıklama şöyle. Örneğin Shipper şeklinde bir  servis olabilir.
Sometimes it is not just a thing or a noun. You can model verbs or business processes as Domain Service, too.

ProductPricer, which uses different pricing algorithms by taking other inputs in e-commerce, can be modeled as Domain Service.
Domain Services Artık Micro Services İle de Kullanılıyor
Açıklaması şöyle
What is a Domain Service or Domain API?
A domain service builds on the basic definition of a microservice: it’s a loosely-coupled, independently deployable element of software architecture which is owned by a single team.

Hiç yorum yok:

Yorum Gönder