{"action":"created","issue":{"url":"https://api.github.com/repos/pkwenda/Blog/issues/9","repository_url":"https://api.github.com/repos/pkwenda/Blog","labels_url":"https://api.github.com/repos/pkwenda/Blog/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/pkwenda/Blog/issues/9/comments","events_url":"https://api.github.com/repos/pkwenda/Blog/issues/9/events","html_url":"https://github.com/pkwenda/Blog/issues/9","id":355263735,"node_id":"MDU6SXNzdWUzNTUyNjM3MzU=","number":9,"title":" 从零构建前后分离web项目：序章 - 开源的意义","user":{"login":"pkwenda","id":14212375,"node_id":"MDQ6VXNlcjE0MjEyMzc1","avatar_url":"https://avatars3.githubusercontent.com/u/14212375?v=4","gravatar_id":"","url":"https://api.github.com/users/pkwenda","html_url":"https://github.com/pkwenda","followers_url":"https://api.github.com/users/pkwenda/followers","following_url":"https://api.github.com/users/pkwenda/following{/other_user}","gists_url":"https://api.github.com/users/pkwenda/gists{/gist_id}","starred_url":"https://api.github.com/users/pkwenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkwenda/subscriptions","organizations_url":"https://api.github.com/users/pkwenda/orgs","repos_url":"https://api.github.com/users/pkwenda/repos","events_url":"https://api.github.com/users/pkwenda/events{/privacy}","received_events_url":"https://api.github.com/users/pkwenda/received_events","type":"User","site_admin":false},"labels":[{"id":1039484472,"node_id":"MDU6TGFiZWwxMDM5NDg0NDcy","url":"https://api.github.com/repos/pkwenda/Blog/labels/%E4%BB%8E%E9%9B%B6%E6%9E%84%E5%BB%BA%E5%89%8D%E5%90%8E%E5%88%86%E7%A6%BBweb%E9%A1%B9%E7%9B%AE","name":"从零构建前后分离web项目","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-29T17:40:20Z","updated_at":"2018-09-06T06:46:36Z","closed_at":null,"author_association":"OWNER","body":"# 序： 开源的意义\r\n\r\n- [首发地址](https://github.com/pkwenda/blog)\r\n\r\n## 背景\r\n\r\n  从事了近**4**年的互联网行业，逐渐担当过团队的前端到后端的负责人，和大家一样从小白逐渐的成长起来，回首望去几年前的博客还是那么稚嫩。\r\n  \r\n  - 回首这几年：\r\n  \r\n  从一个javaer接触前端转向全栈。\r\n  从前端到后端到运维，经历了几次前后端架构的演变，踩了无数的坑，度过无数难免的夜。\r\n\r\n\r\n  \r\n![](http://op0c7euw0.bkt.clouddn.com/15355535178281.jpg)\r\n  \r\n  当我看到这条沸点的时候，我的内心多少是有一些波澜的。为了工作或学习，确实造过一些轮子，前端的后端的，也开源出来过觉得能提高生产力的。但确实：\r\n  >代码放出来!=开源\r\n  \r\n  一个优秀的程序员同时也应该是一个好的传道者，去帮助那些真正想学习的'懵懂少年'。\r\n  \r\n  \r\n##  麦当劳的模式思考\r\n \r\n\r\n  每天早上都回去吃麦当劳6元早餐，有时候想想：这不就是我们现在的工作状态吗？\r\n  \r\n-  薯饼是怎么做的？ \r\n\r\n  不知道,公司直接进的货。\r\n  \r\n-  你是如何掌握火候的？ \r\n\r\n  不清楚，公司规定炸6分钟。\r\n-  那为什么是6分钟，而不是5分钟，7分钟吗？ \r\n\r\n  应该是为了让它外酥里嫩吧，具体没太研究过......\r\n \r\n这像极了我们的面试，我们的痛点总是看过、了解过，但并没有深入去实践过、研究过。\r\n\r\n> 无论多牛的解说5分钟也道不出一部好电影的精髓。\r\n\r\n## 萌生想法  \r\n  \r\n两个月前业余时间开始慢慢写 BBS ,很多公司的同事表示不解 \r\n> 为什么要花时间写这样一个项目,有什么意义呢? \r\n\r\n而我总是开玩笑说我要干掉**掘金**。其实只是个玩笑话，这是我一直想做的事情：做一个真的能帮到大家的开源项目。平常抽空写项目，还好没放弃，终于可以逐渐写写文章跟大家分享一下。\r\n\r\n\r\n## 说干就干\r\n\r\n[Github项目地址](https://github.com/pkwenda/new-bee)   做有 **格调** 的论坛\r\n\r\n ![](http://op0c7euw0.bkt.clouddn.com/15356021025507.gif)\r\n\r\n\r\n粗略统计本系列涉及到的粒度比较大的技术栈:\r\n\r\n- 前端：`node` `npm` `vue2` `webpack4` `electron` \r\n\r\n- 后端：`spring-boot` `spring-data-jpa` `swagger` `spring-cloud` `爬虫` \r\n\r\n- 中间件、运维：`mysql` `nginx` `shell` `docker`\r\n\r\n\r\n\r\n> 这个系列我全部采用了目前比较主流技术栈\r\n\r\n\r\n## 整体大纲的调整\r\n这个系列文章我尽量照顾前端的同学和后端的同学，不穿插讲述。尽量按照前端-后端-部署-运维来讲，当然中途涉及到**跨域**、**Rest**、**oAuth2.0**这种还是无法避免捎带一笔。 \r\n\r\n比如:\r\n\r\n![](http://op0c7euw0.bkt.clouddn.com/15355579335808.jpg?imageView/2/w/150/)\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- 前端后端技术的选型\r\n\r\n- 开发过程中提升效率的小技巧\r\n\r\n- 不同场景下跨域的N种解决办法\r\n\r\n- 几个良好习惯提升 *debug* 的能力\r\n\r\n- 前端的 *Hybrid* 开发自己的 *APP*\r\n\r\n- 前端 *SPA* 模式的优化\r\n\r\n- 学会爬取我们想要的*资源*\r\n\r\n- 后端架构如何向微服务转型\r\n\r\n- 如何使用 *docker* 部署微服务\r\n\r\n- 如何维护项目的运转\r\n\r\n## 结语\r\n这个系列的专辑会同大家一起见证：如何从零打造一个前后分离的互联网主流 *WEB* 项目， 对我来说也是一个挑战，真心希望我能帮到你们。\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/pkwenda/Blog/issues/comments/418983657","html_url":"https://github.com/pkwenda/Blog/issues/9#issuecomment-418983657","issue_url":"https://api.github.com/repos/pkwenda/Blog/issues/9","id":418983657,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODk4MzY1Nw==","user":{"login":"pkwenda","id":14212375,"node_id":"MDQ6VXNlcjE0MjEyMzc1","avatar_url":"https://avatars3.githubusercontent.com/u/14212375?v=4","gravatar_id":"","url":"https://api.github.com/users/pkwenda","html_url":"https://github.com/pkwenda","followers_url":"https://api.github.com/users/pkwenda/followers","following_url":"https://api.github.com/users/pkwenda/following{/other_user}","gists_url":"https://api.github.com/users/pkwenda/gists{/gist_id}","starred_url":"https://api.github.com/users/pkwenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkwenda/subscriptions","organizations_url":"https://api.github.com/users/pkwenda/orgs","repos_url":"https://api.github.com/users/pkwenda/repos","events_url":"https://api.github.com/users/pkwenda/events{/privacy}","received_events_url":"https://api.github.com/users/pkwenda/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T06:46:36Z","updated_at":"2018-09-06T06:46:36Z","author_association":"OWNER","body":"@soicikel 哈哈不算有情怀，希望能帮助大家快点成长，少走弯路"}}
{"actor":{"display_login":"pkwenda"}}