{"action":"created","issue":{"url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/3","repository_url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture","labels_url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/3/comments","events_url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/3/events","html_url":"https://github.com/DeclarativeHub/TheBinderArchitecture/issues/3","id":321790427,"number":3,"title":"So all view logics are in the binder function now?","user":{"login":"Albert-Gao","id":18282328,"avatar_url":"https://avatars1.githubusercontent.com/u/18282328?v=4","gravatar_id":"","url":"https://api.github.com/users/Albert-Gao","html_url":"https://github.com/Albert-Gao","followers_url":"https://api.github.com/users/Albert-Gao/followers","following_url":"https://api.github.com/users/Albert-Gao/following{/other_user}","gists_url":"https://api.github.com/users/Albert-Gao/gists{/gist_id}","starred_url":"https://api.github.com/users/Albert-Gao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Albert-Gao/subscriptions","organizations_url":"https://api.github.com/users/Albert-Gao/orgs","repos_url":"https://api.github.com/users/Albert-Gao/repos","events_url":"https://api.github.com/users/Albert-Gao/events{/privacy}","received_events_url":"https://api.github.com/users/Albert-Gao/received_events","type":"User","site_admin":false},"labels":[{"id":863363908,"url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-10T02:44:08Z","updated_at":"2018-05-11T01:41:12Z","closed_at":null,"author_association":"NONE","body":"Thanks for the doc, seems an easier version of view model. Got one question.\r\n\r\nSay I will send a request with some service, then depends on the result, I might do something different. Show a dialog if result A, go to another screen if result B, send request from another service if result C. All these logics, are now in the binder function? Seems a lot of code will be there...\r\n\r\nAt least to me, seems no other place to put them. Am I missing something?"},"comment":{"url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/comments/388234444","html_url":"https://github.com/DeclarativeHub/TheBinderArchitecture/issues/3#issuecomment-388234444","issue_url":"https://api.github.com/repos/DeclarativeHub/TheBinderArchitecture/issues/3","id":388234444,"user":{"login":"Albert-Gao","id":18282328,"avatar_url":"https://avatars1.githubusercontent.com/u/18282328?v=4","gravatar_id":"","url":"https://api.github.com/users/Albert-Gao","html_url":"https://github.com/Albert-Gao","followers_url":"https://api.github.com/users/Albert-Gao/followers","following_url":"https://api.github.com/users/Albert-Gao/following{/other_user}","gists_url":"https://api.github.com/users/Albert-Gao/gists{/gist_id}","starred_url":"https://api.github.com/users/Albert-Gao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Albert-Gao/subscriptions","organizations_url":"https://api.github.com/users/Albert-Gao/orgs","repos_url":"https://api.github.com/users/Albert-Gao/repos","events_url":"https://api.github.com/users/Albert-Gao/events{/privacy}","received_events_url":"https://api.github.com/users/Albert-Gao/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T01:41:12Z","updated_at":"2018-05-11T01:41:12Z","author_association":"NONE","body":"Thanks guys! Really helps.\r\n\r\nI think it's more clear now. So, the boundary between business logic and application logic is that the UI, anything manipulates the UI should reside in the application logic layer?\r\n\r\nI think this pattern solves a problem in all mobile platforms where the view is finally a view. Otherwise, there are always some logic, be it binding or routing, you need to put in the view then the view becomes not that clean."}}
{"actor":{"display_login":"Albert-Gao"}}