{"action":"created","issue":{"url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/1","labels_url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/1/comments","events_url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/1/events","html_url":"https://github.com/ctsmedia/contao-phpbb-bridge-bundle/issues/1","id":120808037,"number":1,"title":"Wrapping phpbb inside Contao or Proxying","user":{"login":"DanielSchwiperich","id":2045722,"avatar_url":"https://avatars.githubusercontent.com/u/2045722?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielSchwiperich","html_url":"https://github.com/DanielSchwiperich","followers_url":"https://api.github.com/users/DanielSchwiperich/followers","following_url":"https://api.github.com/users/DanielSchwiperich/following{/other_user}","gists_url":"https://api.github.com/users/DanielSchwiperich/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielSchwiperich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielSchwiperich/subscriptions","organizations_url":"https://api.github.com/users/DanielSchwiperich/orgs","repos_url":"https://api.github.com/users/DanielSchwiperich/repos","events_url":"https://api.github.com/users/DanielSchwiperich/events{/privacy}","received_events_url":"https://api.github.com/users/DanielSchwiperich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/labels/concept","name":"concept","color":"d4c5f9"},{"url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/labels/discussion","name":"discussion","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T16:12:51Z","updated_at":"2015-12-09T12:17:35Z","closed_at":null,"body":"In our old version we did hide phpbb behind contao accessing it via custom made http requests. \r\n\r\nFrom the feature list for developer @ https://www.phpbb.com/about/launch/#dev they promote using Routing and Controllers. \r\n\r\nAfter some testing and code reviewing I found thats not really the case. We still have multipe entry points instead of one:\r\n\r\n```\r\n./faq.php\r\n./index.php\r\n./memberlist.php\r\n./posting.php\r\n./report.php\r\n./search.php\r\n./ucp.php\r\n./viewforum.php\r\n./viewonline.php\r\n./viewtopic.php\r\n```\r\n\r\nThe `app.php` is the one which goes the symfony way but looks like only used for extensions. \r\nWrapping would mean we've to recreate each of the php files above somehow, because they all contain custom logic. \r\nAlso they are not using the reponse object. \r\n\r\nI also found we got some name conflicts for global functions between contao und phpbb: `utf8_str_split()`. Bad behavior from both. \r\n\r\nI think we'd have to do to much hacking if we try to wrap phpbb inside contao. So looks like we've to proxy again. At least we know this should work somehow...\r\n\r\nIdeas welcome\r\n\r\n/cc @ctsmedia/cts-developer \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/comments/163208259","html_url":"https://github.com/ctsmedia/contao-phpbb-bridge-bundle/issues/1#issuecomment-163208259","issue_url":"https://api.github.com/repos/ctsmedia/contao-phpbb-bridge-bundle/issues/1","id":163208259,"user":{"login":"DanielSchwiperich","id":2045722,"avatar_url":"https://avatars.githubusercontent.com/u/2045722?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielSchwiperich","html_url":"https://github.com/DanielSchwiperich","followers_url":"https://api.github.com/users/DanielSchwiperich/followers","following_url":"https://api.github.com/users/DanielSchwiperich/following{/other_user}","gists_url":"https://api.github.com/users/DanielSchwiperich/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielSchwiperich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielSchwiperich/subscriptions","organizations_url":"https://api.github.com/users/DanielSchwiperich/orgs","repos_url":"https://api.github.com/users/DanielSchwiperich/repos","events_url":"https://api.github.com/users/DanielSchwiperich/events{/privacy}","received_events_url":"https://api.github.com/users/DanielSchwiperich/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T12:17:35Z","updated_at":"2015-12-09T12:17:35Z","body":"Ok here's an update. I don't want to contao as proxy for phpbb. \r\nThe new module / extensions implementation doesn't look to bad, there also many event listeners. \r\nSo I think the bridge should make use of this. \r\nWe build auth connectors and service objects for both sides. \r\nMake the forum aware of contao and only rendering the main content while receiving the layout from contao. Worth a try I think"}}