上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 106 下一页
摘要: 一起学nodejs 讲师: matthew vscode+nodejs4.6 http://list.youku.com/albumlist/show/id_27966955.html?spm=a2h0k.8191403.0.0&sf=10100 阅读全文
posted @ 2017-06-16 12:33 simadi 阅读(577) 评论(0) 推荐(0)
摘要: GitHub: https://github.com/nswbmw/N-blog N-blog 使用 Express + MongoDB 搭建多人博客 开发环境 Node.js: 6.9.1 MongoDB: 3.2.10 Express: 4.14.0 目录 开发环境搭建 Node.js 的安装与 阅读全文
posted @ 2017-06-16 11:44 simadi 阅读(337) 评论(0) 推荐(0)
摘要: Node.js入门 Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用。 http://www.h 阅读全文
posted @ 2017-06-16 10:50 simadi 阅读(194) 评论(0) 推荐(0)
摘要: 官网 https://www.typescriptlang.org/zh/ 官方文档 https://www.typescriptlang.org/zh/docs/handbook/typescript-from-scratch.html 汇智课堂 地址 http://www.hubwiz。com/ 阅读全文
posted @ 2017-06-16 10:48 simadi 阅读(264) 评论(0) 推荐(0)
摘要: 有异步I/O就需要异步编程。本课程将着重讲解在学习node.js中关于异步编程的一些问题,以及如何应对这些问题,帮助node.js初学者快速入门。 地址 http://www.hubwiz。com/course/543e1a4f032c7816c0d5dfa1 简介 1. 简介2. 优势3. 思维习 阅读全文
posted @ 2017-06-16 09:55 simadi 阅读(418) 评论(0) 推荐(0)
摘要: https://lodash.com/docs/ 英文版 http://lodashjs.com/docs/ 中文版 http://www.css88.com/doc/lodash/ 中文版(较新) lodash,是怎么发音的呢?lou da shi 陪你读一遍lodash(一) 陪你读一遍loda 阅读全文
posted @ 2017-06-15 18:02 simadi 阅读(773) 评论(0) 推荐(0)
摘要: waterfall(tasks, [callback]) (多个函数依次执行,且前一个的输出为后一个的输入) 对于学过了js回调机制的小伙伴,waterfall是比较容易理解的,个人的理解就是,waterfall中传入的函数数组tasks中,后一个函数为前一个函数的回调,使用cb(null,args 阅读全文
posted @ 2017-06-15 17:07 simadi 阅读(3284) 评论(0) 推荐(0)
摘要: JSON.stringify(obj)将JS对象转为字符串。 var json = { aa: ['sdddssd'], bb: [ '892394829342394792399', '23894723984729374932874' ], cc: ['11111111111111'] }=> va 阅读全文
posted @ 2017-06-15 15:35 simadi 阅读(1374) 评论(0) 推荐(0)
摘要: 1 获取get的querystring参数 GET /test?name=fred&tel=0926xxx572 let aa = req.param("name"); let bb = req.query.name; 2 post 表单 <form action='/test?id=3' meth 阅读全文
posted @ 2017-06-15 15:17 simadi 阅读(750) 评论(0) 推荐(0)
摘要: sails支持两种类型的路由: custom(or "explicit") andautomatic(or "implicit"). 先来看一下custom 即用户定义路由吧,以下是学习笔记。 用户定义路由 在config/routes.js中定义如下类似的路由: module.exports.ro 阅读全文
posted @ 2017-06-15 09:00 simadi 阅读(402) 评论(0) 推荐(0)
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 106 下一页