CMD vs AMD vs CommonJS 的区别

Read more   2018/2/8 posted in  JavaScript

GET和POST到底有什么区别?

GET和POST是HTTP请求的两种基本方法,要说它们的区别,接触过WEB开发的人都能说出一二。

最直观的区别就是GET把参数包含在URL中,POST通过request body传递参数。

你可能自己写过无数个GET和POST请求,或者已经看过很多权威网站总结出的他们的区别,你非常清楚知道什么时候该用什么。

当你被问到这个问题,你的内心充满了自信和喜悦。

Read more   2017/11/6 posted in  JavaScript

javascript中函数的各种姿势

2017/9/8 posted in  JavaScript

javaScript模块化讲解

模块化

NOTE:以下讨论都是基于 JavaScript 的模块组织(每个模块均以文件形式组织),而非工程的模块化。

The secret to building large app is never build arge apps. Break your applications into small pieces. Then, assemble those testable, bite-sized pieces into your big application.

Justin Meyer

Read more   2017/8/29 posted in  JavaScript