Full stack engineer
Suffering is the most powerful teacher of life.
一朵红杏
Proper preparation solves 80 percent of life's problems.
展开
-
yarn
install refer : http://www.jackpu.com/yarn-facebook-kai-yuan-de-bao-guan-li-gong-ju/ yarn documention : https://yarnpkg.com/en/ yarn compare npm :https://yarnpkg.com/en/docs/migrating-from-npm:yarn原创 2017-03-25 08:23:33 · 1310 阅读 · 0 评论 -
requireJs 使用
原文链接: http://www.tuicool.com/articles/uYNBFjU作为命名空间;作为命名空间使用; 异步加载js,避免阻塞,提高性能;js通过require加载,不必写很多script2、require.js的加载require.js下载下载后,放在指定目录就可以加载了script src="js/require.js">script>原创 2016-12-17 18:21:57 · 784 阅读 · 0 评论 -
html 5 模仿 form 提交file 文件之FormData
使用xhtr 2 可以实现前端提交 无刷新提交form表单api 参考mdn : https://developer.mozilla.org/zh-CN/docs/Web/API/FormData/%E5%88%A0%E9%99%A4使用ajax 请求时 注意 $.ajax({ url : this.baseUrl+'updateHead',原创 2017-01-18 23:24:48 · 1593 阅读 · 0 评论 -
Promise , fetch Api ,blueBird,Q,When
Promise which the solution of async programmer is the original obj presented by ecmaScript 6 , it’s better than the asynchronous callback was presented by community ;Promise is a object that can get原创 2017-03-20 01:13:33 · 1057 阅读 · 0 评论 -
Vue Lazy Loading Routes
When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time. It would be more efficient if we can split each route’s components into a separate c原创 2017-03-18 19:12:33 · 2513 阅读 · 0 评论 -
Docker,compose,kitematic Overview and build Php WordExpress
Docker 通常在服务器环境中使用较多,出于服务器端配置相对繁琐,前端使用Npm,yarn 等管理工具已经很方便了。下面开始介绍概念以及环境搭建首先介绍下docker的基本概念照抄一下:Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my原创 2017-03-07 21:15:46 · 1528 阅读 · 0 评论