FongX777 / hotel-booking-ddd

hotel booking app using ddd and clean architeucture to implement
17 stars 6 forks source link

Style Decision: Use Case or Application Service? #16

Open FongX777 opened 5 years ago

FongX777 commented 5 years ago

In my thoughts, use case 好處是易懂,且不會跟 domain service 搞混,缺點是要建立一個 use case 建立一個檔案。

Application service 好處是不必被 domain aggregate object 給影響 (不會受限於要用 booking, room, customer 做分類)

FongX777 commented 5 years ago

UseCase or ApplicationService?

FongX777 commented 5 years ago

UseCase or ApplicationService?