上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 58 下一页
摘要: 原文地址:LAMP与LNMP架构的区别及其具体的选择说明作者:啄木鸟LAMP==Linux+Apache+Mysql+PHPLNMP==Linux+Nginx+Mysql+PHP以上两只架构是目前网站的主流架构LAMP和LNMP最主要的区别在于:一个使用的是Apache,一个使用的是Nginx... 阅读全文
posted @ 2017-10-15 10:55 Newman·Li 阅读(193) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/huobobo124/article/details/52971479id="article_content"class="article_contentcsdn-tracking-statistics"data-mod="popu_307"data-... 阅读全文
posted @ 2017-10-15 10:40 Newman·Li 阅读(467) 评论(0) 推荐(0)
摘要: 1,制作一个分享的js接口可参考:http://blog.csdn.net/m0_38082783/article/details/73326551假如接口为: wxShare({ title: '', // 分享标题 desc: '', // 分享描述 li... 阅读全文
posted @ 2017-10-11 15:14 Newman·Li 阅读(461) 评论(0) 推荐(0)
摘要: 如果url为:http://127.0.0.1:8020/?param=10&id=code1,首先引入模块:var http = require('http');var url = require("url");var querystring = require("... 阅读全文
posted @ 2017-10-10 17:06 Newman·Li 阅读(1670) 评论(0) 推荐(0)
摘要: 初步学习nodejs,目前在读《nodejs入门》这一本书,书很小,但是让我知道了如何用nodejs创建一个简单的小项目。例如如何创建一个服务器啦,例如http.createServer,还有根据不同的请求路径来设置路由选择啦,模块引入,创建模块啦,巴拉巴拉的东西。现... 阅读全文
posted @ 2017-10-10 16:58 Newman·Li 阅读(226) 评论(0) 推荐(0)
摘要: 这里主要记下querystring模块的使用方法。querystring从字面上的意思就是查询字符串,一般是对http请求所带的数据进行解析。querystring模块只提供4个方法,在我看来,这4个方法是相对应的。这4个方法分别是querystring.parse和... 阅读全文
posted @ 2017-10-10 16:52 Newman·Li 阅读(347) 评论(0) 推荐(0)
摘要: 错误:throw er; // Unhandled 'error' event发现是nodejs的过程中遇到了如下的运行错误 events.js:72 throw er; // Unhandled 'error' event ^... 阅读全文
posted @ 2017-10-10 15:37 Newman·Li 阅读(298) 评论(0) 推荐(0)
摘要: 1,错误:Uncaught TypeError: hdList.forEach is not a function2,错误的原因原生js获取的DOM集合是一个类数组对象,所以不能直接利用数组的方法(例如:forEach,map等),需要进行转换为数组后,才能用数组的方... 阅读全文
posted @ 2017-09-29 10:05 Newman·Li 阅读(1173) 评论(0) 推荐(0)
摘要: 谷歌浏览器的警告: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://ww... 阅读全文
posted @ 2017-09-28 14:35 Newman·Li 阅读(291) 评论(0) 推荐(0)
摘要: 作者:尹锋链接:https://www.zhihu.com/question/20635785/answer/2235152161,避免使用 js 糟粕和鸡肋这些年来,随着 HTML5 和 Node.js 的发展,JavaScript 在各个领域遍地开花,已经从“世界... 阅读全文
posted @ 2017-09-27 16:59 Newman·Li 阅读(168) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 58 下一页