{"action":"created","issue":{"url":"https://api.github.com/repos/icarus/logical-j/issues/2","labels_url":"https://api.github.com/repos/icarus/logical-j/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/icarus/logical-j/issues/2/comments","events_url":"https://api.github.com/repos/icarus/logical-j/issues/2/events","html_url":"https://github.com/icarus/logical-j/pull/2","id":60226472,"number":2,"title":"Component dispatcher","user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-07T21:54:00Z","updated_at":"2015-03-08T03:01:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/icarus/logical-j/pulls/2","html_url":"https://github.com/icarus/logical-j/pull/2","diff_url":"https://github.com/icarus/logical-j/pull/2.diff","patch_url":"https://github.com/icarus/logical-j/pull/2.patch"},"body":"Really crude beginnings of a component dispatcher to replace the procedural based component entry point files.  With any luck, if the CMS shifts away from JFactory and toward a DI/Services based architecture, this can become more useful.\r\n\r\nAt the moment, this isn't anything special.  Just a simple boot and execute method; boot to check for dependencies and later on register component services and execute to trigger the component (a wrapper around the `JControllerLegacy::getInstance()->execute()->redirect();` blob)."},"comment":{"url":"https://api.github.com/repos/icarus/logical-j/issues/comments/77729996","html_url":"https://github.com/icarus/logical-j/pull/2#issuecomment-77729996","issue_url":"https://api.github.com/repos/icarus/logical-j/issues/2","id":77729996,"user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T03:01:30Z","updated_at":"2015-03-08T03:01:30Z","body":"I just dumped it in there because I didn't want to use the \"normal\"\nstructure and end up with the interface in yet another folder.  Namespace\nfully debatable.\n\nOn Saturday, March 7, 2015, Mathew Lenning <notifications@github.com> wrote:\n\n> Very interesting! Basically you want to replace the mycomponent.php with\n> MyComponentDispatcher class. Thanks for pushing this =^D\n>\n> It looks like the 3PD would still have full control over the component\n> execution cycle right.\n> Since they could override both the boot and the execute methods.\n>\n> Could you PR this to the staging branch? Also is JoomlaCMS going to be the\n> official name space for CMS code? I'm cool with it, but it would suck to\n> have someone complain about it after the fact.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/icarus/logical-j/pull/2#issuecomment-77724016>.\n>\n"}}