{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/11452","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/11452/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11452/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/11452/events","html_url":"https://github.com/yiisoft/yii2/issues/11452","id":151758273,"number":11452,"title":"hmvc in Yii2","user":{"login":"sahifedp","id":9697407,"avatar_url":"https://avatars.githubusercontent.com/u/9697407?v=3","gravatar_id":"","url":"https://api.github.com/users/sahifedp","html_url":"https://github.com/sahifedp","followers_url":"https://api.github.com/users/sahifedp/followers","following_url":"https://api.github.com/users/sahifedp/following{/other_user}","gists_url":"https://api.github.com/users/sahifedp/gists{/gist_id}","starred_url":"https://api.github.com/users/sahifedp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahifedp/subscriptions","organizations_url":"https://api.github.com/users/sahifedp/orgs","repos_url":"https://api.github.com/users/sahifedp/repos","events_url":"https://api.github.com/users/sahifedp/events{/privacy}","received_events_url":"https://api.github.com/users/sahifedp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-28T22:31:49Z","updated_at":"2016-05-02T22:30:16Z","closed_at":"2016-04-28T23:26:55Z","body":"Hi\r\nI Worked with Cakephp and codeigniter and little Yii2, and I found Yii2 very Awesome..\r\nfor example work with composer , model , widgets &.. in Yii2 is very good , \r\nbut:\r\ncakephp 3 support 3 level HMVC (by plugin and route prefix) , codeigniter support unlimited level HMVC, but I don't know how to use HMVC in Yii2.\r\n\r\nI want create a module that need HMVC structure (it has admin and frontend and many controller in admin and frontend)\r\nMy module structure:\r\n\r\n`ModuleName\r\n\r\n      admin\r\n\r\n           controllers\r\n\r\n                AdminController.php\r\n\r\n                OtherController.php\r\n\r\n          views\r\n\r\n                ...\r\n     frontend\r\n\r\n          controllers\r\n\r\n               SiteController.php\r\n\r\n               OtherController.php\r\n\r\n          views\r\n\r\n              ...\r\n\r\n    Models\r\n\r\n          ...\r\n\r\n    ModuleName.php\r\n\r\n`\r\nI seen [https://github.com/vtvz/yii2-hmvc](url) and [https://gist.github.com/samdark/1124018](url) , but I do not know where to I start?\r\n(I work based on yii basic app)\r\nthank you anyway...\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/216384507","html_url":"https://github.com/yiisoft/yii2/issues/11452#issuecomment-216384507","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/11452","id":216384507,"user":{"login":"sahifedp","id":9697407,"avatar_url":"https://avatars.githubusercontent.com/u/9697407?v=3","gravatar_id":"","url":"https://api.github.com/users/sahifedp","html_url":"https://github.com/sahifedp","followers_url":"https://api.github.com/users/sahifedp/followers","following_url":"https://api.github.com/users/sahifedp/following{/other_user}","gists_url":"https://api.github.com/users/sahifedp/gists{/gist_id}","starred_url":"https://api.github.com/users/sahifedp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahifedp/subscriptions","organizations_url":"https://api.github.com/users/sahifedp/orgs","repos_url":"https://api.github.com/users/sahifedp/repos","events_url":"https://api.github.com/users/sahifedp/events{/privacy}","received_events_url":"https://api.github.com/users/sahifedp/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T22:30:16Z","updated_at":"2016-05-02T22:30:16Z","body":"Please tell me a link to learn domain layer or examples of its use.\r\nI could not find good documentation about domain layer.\r\nThanks for your patience."}}