{"action":"created","issue":{"url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/10","labels_url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/10/comments","events_url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/10/events","html_url":"https://github.com/brunosantoshx/hxphp/issues/10","id":120549146,"number":10,"title":"Classes PHP no padrão MVC","user":{"login":"carusogabriel","id":13270780,"avatar_url":"https://avatars.githubusercontent.com/u/13270780?v=3","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brunosantoshx/hxphp/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-05T11:45:47Z","updated_at":"2015-12-06T00:27:35Z","closed_at":null,"body":"Olá mais uma vez comunidade!\n\nTenho uma dúvida de estruturação do MVC: \n- Quando eu quiser utilizar classes em PHP para, por exemplo, edição de fotos (`WideImage`), detecção de dispositivos móveis (`Mobile-Detect`), entre outras, como seria o tratamento? Digo, estanciaria e manipularia o Objeto no `Controller` e mandaria pra `View`, ou vice-versa?\n- Onde eu armazenaria os arquivos `.php` das classes, na pasta `vendor` do `Composer`, e utilizaria `Namespaces`?\n\nDesde já, muito obrigado pela ajuda!"},"comment":{"url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/comments/162259810","html_url":"https://github.com/brunosantoshx/hxphp/issues/10#issuecomment-162259810","issue_url":"https://api.github.com/repos/brunosantoshx/hxphp/issues/10","id":162259810,"user":{"login":"carusogabriel","id":13270780,"avatar_url":"https://avatars.githubusercontent.com/u/13270780?v=3","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T00:27:35Z","updated_at":"2015-12-06T00:27:35Z","body":"E serviços são tratados nos `Controllers`, que tratam as `Views`?"}}