Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

従業員登録手順をcordinatorパターンに #101

Closed
masuda220 opened this issue Jan 24, 2019 · 1 comment
Closed

従業員登録手順をcordinatorパターンに #101

masuda220 opened this issue Jan 24, 2019 · 1 comment

Comments

@masuda220
Copy link
Contributor

EmployRegisterController で、 EmployeeRecordService の一連の呼び出しを、

application/coordinator/EmployRegisterConrdinator

クラスを作って、そちらにに移動する

複数サービスを使った処理手順は、基本としては、application/coordinator のクラスに一括してまかせる。

このケースの場合は、従業員の新規登録の業務手順なので、application層に移動するのが良い。

ファサードパターンの一種だが、複雑さを隠蔽する、という目的ではなく、業務手順の置き場所を、application層に移動する、という目的。

@irof
Copy link
Contributor

irof commented May 11, 2019

928f079

@irof irof closed this as completed May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants