
nodejs
pro_tian
这个作者很懒,什么都没留下…
展开
-
V8 编译及使用-windows
进军智能家居的第一步:最新想搞node js 开发,它使用的是V8的引擎。nodejs入门后就看是从V8入手想深入的来学习一些。首先我使用的环境是WIn7 x64 计算机,安装也是基于此来安装,如果你需要安装的是linux版本的请绕行。V8是使用C++开发,Gyp编译。官方文档:http://code.google.com/p/v8/wiki/BuildingWithG原创 2014-03-27 16:56:29 · 1148 阅读 · 0 评论 -
mongoose 数据库操作2
mongoose 数据库操作2原创 2014-05-01 10:05:00 · 1387 阅读 · 0 评论 -
mongoose 数据库操作 - 分页
mongoose 公用分页原创 2014-05-03 02:16:15 · 2920 阅读 · 0 评论 -
Mongoose 操作
Mongoose是什么Mongoose是什么Mongoose是MongoDB的一个对象模型工具,可以工作于异步环境下。定义一个模型很容易:var Comments = new Schema({ title : String , body : String , date : Date});var BlogPost = new转载 2014-04-30 14:22:34 · 991 阅读 · 0 评论 -
nodejs mongodb (2)
这里看一下nodejs 是如何来操作shuj原创 2014-04-28 16:59:36 · 624 阅读 · 0 评论 -
nodejs 模拟form表单
公用方法:function postFile(fileKeyValue, req) { var boundaryKey = Math.random().toString(16); var enddata = '\r\n----' + boundaryKey + '--'; var files = new Array(); for (var i = 0; i < fileKeyValu原创 2014-07-22 11:29:12 · 2791 阅读 · 7 评论 -
mongoose 操作数据库1
Mongoose 的几个重要的概念:原创 2014-04-30 14:21:19 · 2109 阅读 · 0 评论 -
node js 用到现在居然不知道安装时怎么回事呢,郁闷。
npm config set registry http://npm.stdyun.comnpm info underscore (如果上面配置正确这个命令会有字符串response)原创 2014-04-01 01:39:58 · 503 阅读 · 0 评论