newland icon indicating copy to clipboard operation
newland copied to clipboard

node.js 全栈式MVC framework

Results 7 newland issues
Sort by recently updated
recently updated
newest added

现在所有模块都将匿名化,同步化。新版的加载器相同说是相当于原生require的加强版,同时require多个模块时,返回一个数组。 var array = require(["./aaa","./bbb","./ccc"]) //相当于 var array = []; array[array.length] = require("./aaa") array[array.length] = require("./bbb") array[array.length] = require("./ccc") 亦可以在后面加函数 var array = require(["./aaa","./bbb","./ccc"],function(a, b, c){ //....................... }) 模块允许多种定义法 //纯node.js方法...

# github-FE-project github上值得关注的前端项目 ## 综合/资源 - [frontend-dev-bookmarks](https://github.com/dypsilon/frontend-dev-bookmarks) 一个巨大的前端开发资源清单。`star:15000` - [front-end-collect](https://github.com/foru17/front-end-collect) 分享自己长期关注的前端开发相关的优秀网站、博客、以及活跃开发者。`star:860` - [Front-end-Interview-questions](https://github.com/hawx1993/Front-end-Interview-questions) 史上最全前端开发面试问题及答案 - [f2e-hub](https://github.com/lvwzhen/f2e-hub) 包含`Animation,UI,dialog,Carousels,color,image,workflow`等。`star:100` - [awesome-javascript](https://github.com/sorrycc/awesome-javascript) 一系列很棒的`javascript` 库,资源。`star:3100` - [fks](https://github.com/JacksonTian/fks) 前端技能汇总,包含前端知识架构,后端知识,`linux`,书籍推荐等。`star:4000` - [node123](https://github.com/youyudehexie/node123) `node.js`中文资料导航。`star:1200` - [mobile-web-favorites](https://github.com/hoosin/mobile-web-favorites) 移动端web开发收藏夹。`star:200`...

我已经完成newland.js的内存session与cookie session了 cookie session就直接利用它的maxAge来清除 内存session利用setInterval定期检测mtime属性,发现mtime少于当前时间,清掉它

没有使用经典的createWriteStream方法,我把要打印的日志push进一个数组,然后hfs.writeFile用递归输出。如果有什么好的实现请告诉我 logger.js

flash是基于session的消息传送机制,我们可以把消息放到flash中并在下一个action访问到它们。 用法 flow.flash('info', 'email sent'); flow.flash('error', 'email delivery failed'); flow.flash('info', 'email re-sent'); // => 2 flow.flash('info'); // => ['email sent', 'email re-sent'] flow.flash('info'); // => [] flow.flash(); // => {...