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

MVC #3

Open
mic050r opened this issue Oct 2, 2024 · 0 comments
Open

MVC #3

mic050r opened this issue Oct 2, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mic050r
Copy link
Member

mic050r commented Oct 2, 2024

전체적인 MVC 흐름

  1. 클라이언트가 데이터를 전송하면 @ModelAttribute 를 통해 데이터를 DTO에 바인딩.
  2. Controller는 이 DTO를 받아서 Service 계층으로 전달.
  3. Service는 DAO를 통해 DB에 CRUD 작업을 수행.
  4. DAO는 Mapper와 연동되어 MyBatis나 JPA를 통해 SQL 쿼리를 실행하여 DB와 통신.
@mic050r mic050r self-assigned this Oct 5, 2024
@mic050r mic050r added the documentation Improvements or additions to documentation label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant