摘要:
原文:https://github.com/chyingp/nodejs-learning-guide 自己敲代码: http模块概览 大多数nodejs开发者都是冲着开发web server的目的选择了nodejs。正如官网所展示的,借助http模块,可以几行代码就搞定一个超迷你的web serv 阅读全文
posted @ 2018-06-15 15:21
hh9515
阅读(342)
评论(0)
推荐(0)
摘要:
域名解析:dns.lookup() 比如我们要查询域名 www.qq.com 对应的ip,可以通过 dns.lookup() 。 var dns = require('dns'); dns.lookup('www.qq.com', function(err, address, family){ if 阅读全文
posted @ 2018-06-15 15:09
hh9515
阅读(559)
评论(0)
推荐(0)
摘要:
原文:https://github.com/chyingp/nodejs-learning-guide/blob/master/%E6%A8%A1%E5%9D%97/fs.md#%E9%80%9A%E8%BF%87%E6%96%87%E4%BB%B6%E6%B5%81%E8%AF%BB%E5%8F% 阅读全文
posted @ 2018-06-15 15:05
hh9515
阅读(534)
评论(0)
推荐(0)
摘要:
原文: https://github.com/chyingp/nodejs-learning-guide/blob/master/README.md 自己的跟进学习: 概览 做过web性能优化的同学,对性能优化大杀器gzip应该不陌生。浏览器向服务器发起资源请求,比如下载一个js文件,服务器先对资源 阅读全文
posted @ 2018-06-15 14:00
hh9515
阅读(227)
评论(0)
推荐(0)
摘要:
什么是 indexedDB IndexedDB 是一种使用浏览器存储大量数据的方法.它创造的数据可以被查询,并且可以离线使用. IndexedDB对于那些需要存储大量数据,或者是需要离线使用的程序是非常有效的解决方法. MDN 上面是MDN上对于IndexedDB的介绍.其简单而言,indexedD 阅读全文
posted @ 2018-06-15 11:11
hh9515
阅读(1441)
评论(0)
推荐(0)

浙公网安备 33010602011771号