{"action":"opened","issue":{"url":"https://api.github.com/repos/xpgeng/straypetshelper/issues/2","labels_url":"https://api.github.com/repos/xpgeng/straypetshelper/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/xpgeng/straypetshelper/issues/2/comments","events_url":"https://api.github.com/repos/xpgeng/straypetshelper/issues/2/events","html_url":"https://github.com/xpgeng/straypetshelper/issues/2","id":120408755,"number":2,"title":"SPH-功能简介","user":{"login":"xpgeng","id":7894983,"avatar_url":"https://avatars.githubusercontent.com/u/7894983?v=3","gravatar_id":"","url":"https://api.github.com/users/xpgeng","html_url":"https://github.com/xpgeng","followers_url":"https://api.github.com/users/xpgeng/followers","following_url":"https://api.github.com/users/xpgeng/following{/other_user}","gists_url":"https://api.github.com/users/xpgeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xpgeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpgeng/subscriptions","organizations_url":"https://api.github.com/users/xpgeng/orgs","repos_url":"https://api.github.com/users/xpgeng/repos","events_url":"https://api.github.com/users/xpgeng/events{/privacy}","received_events_url":"https://api.github.com/users/xpgeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T14:09:13Z","updated_at":"2015-12-04T14:09:13Z","closed_at":null,"body":"# Stray Pets Helper功能简介\r\n\r\n\r\n\r\n## Web端功能\r\n### 注册,登录\r\n- 微博,微信认证\r\n   - 参考资料: \r\n\r\n### 提交信息与保存到数据库\r\n   - 上传图片信息\r\n      - 参考资料1: [七牛相关](http://developer.qiniu.com/docs/v6/api/overview/concepts.html)\r\n      - 参考资料2: [Bottle](http://bottlepy.org/docs/dev/tutorial.html#file-uploads)\r\n      - 参考资料3: [Flask](http://flask.pocoo.org/docs/0.10/) 与Bottle类似, 同为web框架, 第三方库更多.可以考虑用这个框架. \r\n      - 参考资料4:[Jinja2](http://jinja.pocoo.org/docs/dev/templates/) \r\n   - 文字信息\r\n      - 文字信息包括: 宠物描述, 时间地点(城市), 联系方式, 领养要求等等\r\n\r\n   - 数据库\r\n      - SAE-KVDB 或 SAE-MySQL\r\n      - 数据库设计\r\n         - 这个很重要, 最好有可扩展性, 随着数据类型的增加, 能够方便搜索等等.\r\n         - 此处也要重点讨论.\r\n\r\n### 展示信息\r\n这个功能更多的涉及web前端.\r\n   \r\n   - 图片\r\n      - 参考资料: [bootstrap](http://www.bootcss.com/)\r\n   - 文字\r\n      - 需要确定展示的内容.\r\n\r\n### 连接新浪微博API\r\n实现实时发布到微博上\r\n   \r\n   - 参考资料1:[新浪微博](http://open.weibo.com/wiki/%E5%BE%AE%E5%8D%9AAPI)\r\n   - 参考资料2:[使用新浪微博API：创建Web应用](http://www.liaoxuefeng.com/article/0013738933956196820a532035641329a1af22170cefc2c000)\r\n\r\n## 微信端功能\r\n### 上传照片\r\n- 参考资料:[微信接收消息](http://mp.weixin.qq.com/wiki/17/fc9a27730e07b9126144d9c96eaf51f9.html#.E5.9B.BE.E7.89.87.E6.B6.88.E6.81.AF)\r\n\r\n\r\n### 自定义菜单\r\n- 参考资料:[自定义菜单创建接口](http://mp.weixin.qq.com/wiki/6/95cade7d98b6c1e1040cde5d9a2f9c26.html) \r\n\r\n### 信息加密\r\n\r\n\r\n### 推送信息\r\n     \r\n\r\n\r\n## 更新\r\n151204   沈浪编辑\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}