{"action":"opened","issue":{"url":"https://api.github.com/repos/fastWebApp/fastApp/issues/1","labels_url":"https://api.github.com/repos/fastWebApp/fastApp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fastWebApp/fastApp/issues/1/comments","events_url":"https://api.github.com/repos/fastWebApp/fastApp/issues/1/events","html_url":"https://github.com/fastWebApp/fastApp/issues/1","id":65169314,"number":1,"title":"底层选型","user":{"login":"xiaojue","id":289225,"avatar_url":"https://avatars.githubusercontent.com/u/289225?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaojue","html_url":"https://github.com/xiaojue","followers_url":"https://api.github.com/users/xiaojue/followers","following_url":"https://api.github.com/users/xiaojue/following{/other_user}","gists_url":"https://api.github.com/users/xiaojue/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaojue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaojue/subscriptions","organizations_url":"https://api.github.com/users/xiaojue/orgs","repos_url":"https://api.github.com/users/xiaojue/repos","events_url":"https://api.github.com/users/xiaojue/events{/privacy}","received_events_url":"https://api.github.com/users/xiaojue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T09:13:32Z","updated_at":"2015-03-30T09:13:32Z","closed_at":null,"body":"expressjs koa hapi 对比\r\n\r\nhttp://segmentfault.com/a/1190000002421718\r\n\r\n为了实现插件化，暂时不使用这3个框架，其中hapi是于我理想中最贴近的框架。但是主要是写法与express和koa相差较大，上手需要阅读文档，比较门槛高一些。所以还是参考其api，自己实现一套，基于express4.x。\r\n\r\n对于expressjs4.x的使用，文章说较多，缺点和2x类似，为了避免，所以需要统一开放规范，中间件，路由，权限，校验，视图，localvars，静态资源，modal层都需要重新设计。\r\n\r\nps，评审没过，可以安心找下家了~"}}