{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7074","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7074/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7074/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7074/events","html_url":"https://github.com/cakephp/cakephp/issues/7074","id":96133471,"number":7074,"title":"4.0 - RFC - A new folder for controllers actions and prefix","user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars.githubusercontent.com/u/142658?v=3","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/RFC","name":"RFC","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/2","html_url":"https://github.com/cakephp/cakephp/milestones/Future","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/2/labels","id":453023,"number":2,"title":"Future","description":null,"creator":{"login":"lh-import","id":5175817,"avatar_url":"https://avatars.githubusercontent.com/u/5175817?v=3","gravatar_id":"","url":"https://api.github.com/users/lh-import","html_url":"https://github.com/lh-import","followers_url":"https://api.github.com/users/lh-import/followers","following_url":"https://api.github.com/users/lh-import/following{/other_user}","gists_url":"https://api.github.com/users/lh-import/gists{/gist_id}","starred_url":"https://api.github.com/users/lh-import/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lh-import/subscriptions","organizations_url":"https://api.github.com/users/lh-import/orgs","repos_url":"https://api.github.com/users/lh-import/repos","events_url":"https://api.github.com/users/lh-import/events{/privacy}","received_events_url":"https://api.github.com/users/lh-import/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":253,"state":"open","created_at":"2013-10-11T20:37:33Z","updated_at":"2015-07-20T18:56:54Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-07-20T18:56:15Z","updated_at":"2015-07-22T03:36:39Z","closed_at":null,"body":"_From @andtxr on July 20, 2015 17:39_\n\n4.0 - RFC - A new folder for controllers actions?\r\n\r\nI was wondering about the possibility of adding a new folder to keep the controller actions templates separated from the others.\r\n\r\nRight now the agglomeration of similar named folders prevent some prefix naming. For example:\r\n\r\nThere will be a restriction if someone has decided to use a route prefix like element, email, or any other name that already exists as default template folder.\r\n\r\nAnother separation that I think may be interesting is to create a folder for prefixed templates.\r\n\r\nSometimes we have folders named like ``Admin`` for the prefixed templates, and ``Admins`` for the default admins controller actions.\r\n\r\nThis is someway visually confusing.\r\n\r\nWhat do you think about the following structure for the action templates?\r\n\r\n```\r\napp\r\n|____src\r\n     |____Template\r\n          |____Action\r\n```\r\n\r\nAnd this following one for the prefix folders?\r\n\r\n```\r\napp\r\n|____src\r\n     |____Template\r\n          |____Action\r\n               |____Prefix\r\n```\r\n\r\nI was wondering about it and I would share with you.\r\n\r\nI don`t know if it breaks some MVC patterns that you guys had chosen. If it does, sorry.\r\n\r\n\n\n_Copied from original issue: cakephp/app#267_"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/123553610","html_url":"https://github.com/cakephp/cakephp/issues/7074#issuecomment-123553610","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7074","id":123553610,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T03:36:38Z","updated_at":"2015-07-22T03:36:38Z","body":"@jhli What is inconsistent about the current state though? The 'special' directories also contain templates, and theoretically you could reuse templates from a Cell and standard action as well. I'm not sure there is an actual problem here that causes people pain in their day to day work. Adding more directories adds complexity and right now feels like change for change's sake to me."}}