{"action":"closed","issue":{"url":"https://api.github.com/repos/alibaba/BeeHive/issues/61","repository_url":"https://api.github.com/repos/alibaba/BeeHive","labels_url":"https://api.github.com/repos/alibaba/BeeHive/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/BeeHive/issues/61/comments","events_url":"https://api.github.com/repos/alibaba/BeeHive/issues/61/events","html_url":"https://github.com/alibaba/BeeHive/issues/61","id":215974194,"number":61,"title":"在引入BeeHive的工程里，一些组件的配置应该放在那个地方呢？","user":{"login":"waterfly","id":1788615,"avatar_url":"https://avatars3.githubusercontent.com/u/1788615?v=3","gravatar_id":"","url":"https://api.github.com/users/waterfly","html_url":"https://github.com/waterfly","followers_url":"https://api.github.com/users/waterfly/followers","following_url":"https://api.github.com/users/waterfly/following{/other_user}","gists_url":"https://api.github.com/users/waterfly/gists{/gist_id}","starred_url":"https://api.github.com/users/waterfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waterfly/subscriptions","organizations_url":"https://api.github.com/users/waterfly/orgs","repos_url":"https://api.github.com/users/waterfly/repos","events_url":"https://api.github.com/users/waterfly/events{/privacy}","received_events_url":"https://api.github.com/users/waterfly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-22T07:19:20Z","updated_at":"2017-03-25T00:53:02Z","closed_at":"2017-03-25T00:53:02Z","body":"比如我们目前的工程里，一些组件需要外部环境参数配置，目前是放在 didFinishLaunchingWithOptions 里，然后项目依赖这些组件。在引入BeeHive后，这些组件的合适位置应该是放在那里？是应该作为Module 一样，每个组件都创建一个Module 管理组件的生命周期，还是只建一个公共Module 统一管理这些组件？\r\n\r\n另外，麻烦再问下，每个项目做成插件后，独立运行的基础是 项目代码依赖一个统一的工程配置吗？比如说各种组件的初始化配置，都放在一个工程壳子里，然后每个项目代码加上这个壳子就能独立编译运行"}}
{"actor":{"display_login":"waterfly"}}