{"action":"created","issue":{"url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/6","repository_url":"https://api.github.com/repos/HanSeungBeom/morning_study","labels_url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/6/comments","events_url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/6/events","html_url":"https://github.com/HanSeungBeom/morning_study/issues/6","id":346816553,"node_id":"MDU6SXNzdWUzNDY4MTY1NTM=","number":6,"title":"1. 패턴공부 - MVVM","user":{"login":"HanSeungBeom","id":21086676,"node_id":"MDQ6VXNlcjIxMDg2Njc2","avatar_url":"https://avatars2.githubusercontent.com/u/21086676?v=4","gravatar_id":"","url":"https://api.github.com/users/HanSeungBeom","html_url":"https://github.com/HanSeungBeom","followers_url":"https://api.github.com/users/HanSeungBeom/followers","following_url":"https://api.github.com/users/HanSeungBeom/following{/other_user}","gists_url":"https://api.github.com/users/HanSeungBeom/gists{/gist_id}","starred_url":"https://api.github.com/users/HanSeungBeom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanSeungBeom/subscriptions","organizations_url":"https://api.github.com/users/HanSeungBeom/orgs","repos_url":"https://api.github.com/users/HanSeungBeom/repos","events_url":"https://api.github.com/users/HanSeungBeom/events{/privacy}","received_events_url":"https://api.github.com/users/HanSeungBeom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-02T00:29:20Z","updated_at":"2018-08-02T01:06:46Z","closed_at":null,"author_association":"OWNER","body":""},"comment":{"url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/comments/409772519","html_url":"https://github.com/HanSeungBeom/morning_study/issues/6#issuecomment-409772519","issue_url":"https://api.github.com/repos/HanSeungBeom/morning_study/issues/6","id":409772519,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTc3MjUxOQ==","user":{"login":"hongsukchoi","id":31090011,"node_id":"MDQ6VXNlcjMxMDkwMDEx","avatar_url":"https://avatars2.githubusercontent.com/u/31090011?v=4","gravatar_id":"","url":"https://api.github.com/users/hongsukchoi","html_url":"https://github.com/hongsukchoi","followers_url":"https://api.github.com/users/hongsukchoi/followers","following_url":"https://api.github.com/users/hongsukchoi/following{/other_user}","gists_url":"https://api.github.com/users/hongsukchoi/gists{/gist_id}","starred_url":"https://api.github.com/users/hongsukchoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongsukchoi/subscriptions","organizations_url":"https://api.github.com/users/hongsukchoi/orgs","repos_url":"https://api.github.com/users/hongsukchoi/repos","events_url":"https://api.github.com/users/hongsukchoi/events{/privacy}","received_events_url":"https://api.github.com/users/hongsukchoi/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T01:06:46Z","updated_at":"2018-08-02T01:06:46Z","author_association":"COLLABORATOR","body":"## MVC\r\n\r\n![2018-08-02 9 59 19](https://user-images.githubusercontent.com/31090011/43556435-be476b06-963a-11e8-809a-281c6a66bf4b.png)\r\n1. Controller로 사용자의 입력이 들어옵니다.\r\n2. Controller는 Model을 데이터 업데이트 및 불러오고\r\n3. Model은 해당 데이터를 보여줄 View를 선택해서 화면에 보여주게 됩니다.\r\n\r\n예시로 뭐가 있는 지 잘 모르겠지만, \r\n내 프로젝트에서\r\nAR 관련 이미지 정보를 담고 있는게 이미 Vuforia에서 제공하는 State 클래스임을 감안하면\r\nMVC는 일단 제외\r\n\r\n## MVP\r\n\r\n![2018-08-02 10 01 25](https://user-images.githubusercontent.com/31090011/43556539-2f233bfc-963b-11e8-9267-32ce342d1579.png)\r\n\r\n1. View로 사용자의 입력이 들어옵니다.\r\n2. View는 Presenter에 작업 요청을 합니다.\r\n3. Presenter에서 필요한 데이터를 Model에 요청 합니다.\r\n4. Model은 Presenter에 필요한 데이터를 응답 합니다.\r\n5. Presenter는 View에 데이터를 응답 합니다.\r\n6. View는 Presenter로부터 받은 데이터로 화면에 보여주게 됩니다.\r\n\r\n내 프로젝트에서\r\nView로 들어오는 사용자의 입력은 두 타입이 있다\r\n- 사용자 버튼 터치\r\n- 카메라 프레임 입력\r\n\r\nPresenter 와 Model 간 요청이 필요한 이유"}}
{"actor":{"display_login":"hongsukchoi"}}