Skip to content

Conversation

@iju1633
Copy link

@iju1633 iju1633 commented Jan 21, 2023

No description provided.

@iju1633 iju1633 added the 🙋‍♂️🙋‍♀️ 리뷰 요청 PR 리뷰를 요청합니다~ label Jan 21, 2023
@iju1633 iju1633 requested a review from hfjxjjd123 January 21, 2023 15:43
@iju1633 iju1633 changed the title 1월 백엔드 포스팅 1월 모바일 포스팅 Jan 21, 2023
@iju1633 iju1633 changed the title 1월 모바일 포스팅 1월 모바일 블로그 포스팅 Jan 21, 2023
@iju1633 iju1633 requested a review from simpack0513 January 21, 2023 15:45
Copy link

@simpack0513 simpack0513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MVC, MVP, MVVM의 의미를 알고 각각의 장점을 확실히 알 수 있어서 좋았습니다! 좋은 글 써주셔서 감사합니다 :)



# MVC
![archieve](../assets/images/post-Pattern/mvc.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제 환경에서만 그럴 수도 있는데 사진이 보이지 않습니다. 사진을 누르면 404에러가 나오고 master 안에 없다는 이야기가 보입니다

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

블로그 팀에게 여쭤봤는데 잘 보인다고 하셔서 문제 없는 걸로 보입니다 !


MVP에서는 컨트롤러가 사라졌다. 그 기능은 프레젠터가 대신한다. 프레젠터의 영역은 컨트롤러의 영역을 포함하고 여기에 뷰의 인터페이스를 포함한다고 생각하면 이해가 쉽다.

MVC에서는 컨트롤러가 모델과 뷰를 선택하면 뷰가 해당 모델을 바탕으로 UI를 그렸다고 볼 수 있는데, 이는 컨트롤러가 뷰를 정확히 인지할 수 있다는 의미이다. MVP에서는 뷰와 컨트롤러의 이 밀접한 관계를 끊고 서로 인지할 수 없게 만드는 것이 목표라고 생각하면 된다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사소한거지만 뷰와 컨트롤러의 이 밀접한 관계 -> 뷰와 컨트롤러의 밀접한 관계가 조금 더 문장이 매끄러운거 같습니다! 원래도 괜찮긴 해요 ㅎㅎ

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정 이후가 가독성이 더 좋네요 ㅎㅎ 감사합니다

Copy link

@hfjxjjd123 hfjxjjd123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

각 디자인 패턴의 장점과 함께 패턴들을 알아볼 수 있어서 좋았습니다!
이후 디자인 패턴을 사용해 볼 때 도움이 많이 될 것 같아요~


## MVVM
![archieve](../assets/images/post-Pattern/mvvm.png)
뷰와 뷰모델 사이의 양방향 데이터 바인딩을 발견할 수 있다. 뷰 모델 안에서 그리고 뷰에게 수정사항들을 자동으로 이동시킨다. 뷰모델에서 변화를 주기 위해서, 뷰모델은 옵저버 패턴을 사용한다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

옵저버 패턴이 무엇인지 간단한 설명이 있으면 이해하기 더 쉬울 것 같아요!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

추가 완료했습니다 😀


과제로 앱 프로젝트를 진행해보며 오랜만에 이전에 잘 이해하지 못했던 MVVM 패턴에 대해 정리하던 도중, 다른 디자인 패턴들은 어떤 게 있는지 알아보게 되었다.

그래서 지금부터 애플리케이션을 개발할 때 고민해야 할 MVC, MVP, MVVM 패턴에 대해 제가 정리한 부분을 공유하고자 한다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'제가'라는 표현과 '한다'라는 어체가 같이 쓰이니 조금 어색한 거 같아요!
'제가' 자체를 빼도 괜찮을 것 같아요

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

피드백 감사합니다 ! 수정했어요

@iju1633 iju1633 added ✅ 리뷰 완료 한 명 이상이 리뷰를 완료했을 때 🔨 수정 요청 리뷰 과정 중 수정 사항이 생겼을 때 and removed 🙋‍♂️🙋‍♀️ 리뷰 요청 PR 리뷰를 요청합니다~ labels Jan 26, 2023
Copy link

@hfjxjjd123 hfjxjjd123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@iju1633 iju1633 removed the 🔨 수정 요청 리뷰 과정 중 수정 사항이 생겼을 때 label Feb 14, 2023
Copy link

@simpack0513 simpack0513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다 !

@SSUHYUNKIM SSUHYUNKIM added 💯 최종 완료 모든 수정과 리뷰가 끝난 후 merge를 기다릴 때 and removed ✅ 리뷰 완료 한 명 이상이 리뷰를 완료했을 때 labels Feb 24, 2023
@SSUHYUNKIM SSUHYUNKIM merged commit 17cb629 into GDSC-University-of-Seoul:master Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💯 최종 완료 모든 수정과 리뷰가 끝난 후 merge를 기다릴 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants