FongX777 / hotel-booking-ddd

hotel booking app using ddd and clean architeucture to implement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style Decision: Use Case or Application Service?

FongX777 opened this issue · comments

commented

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

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