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

[Architecture] Presenter 계층 만들기 #109

Open
Dokyeongyun opened this issue Jan 5, 2022 · 1 comment
Open

[Architecture] Presenter 계층 만들기 #109

Dokyeongyun opened this issue Jan 5, 2022 · 1 comment
Assignees
Labels

Comments

@Dokyeongyun
Copy link
Owner

Presenter 계층을 추가한다.

Presenter의 역할은 Usecase에서 반환된 데이터를 이용하여
사용자에게 보여줄 View에 들어갈 View Model을 구성하는 것이다.

예를 들면,

  1. 유즈케이스에서 데이터베이스 의존성을 통해 조회한 데이터를 반환하고,
  2. 프레젠터에서는 이 데이터를 사용자에게 보여주기 적합한 형태로 변환한다.

ConsolePresenter, GUIPresenter 등을 만들어보도록 하자.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant