Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 2.65 KB

nodejs.md

File metadata and controls

79 lines (49 loc) · 2.65 KB

Node.js 资源汇总

begin at 2014.06 持续更新

Framework

NodeBB
https://nodebb.org/
A better faster forum platform for the modern web.
The next generation forum software that's free and easy to use.

MEAN
http://mean.io/
The Friendly & Fun Javascript Fullstack for your next web application MEAN is an opinionated fullstack javascript framework - which simplifies and accelerates web application development.

进程&服务管理

forever nodemon pm2 supervisor

forever 的接口不是很好,功能也没有 pm2 强大。启动同名文件时需要 --uid 参数,每次启动还得加 -a ,挺烦的。更多请参考:

推荐: nodemon pm2 ,但 pm2 的 cluster_mode 不太稳定,建议优先选 fork_mode

log

https://github.com/winstonjs/winston
https://github.com/trentm/node-bunyan

异步编程

Async.js
Q
FRP(Functional Reactive Programming)

推荐从 Async 入手,简单强大,比 Q 容易上手。

python 中有 asyncio

异步编程之co——源码分析 http://www.html-js.com/article/3016

lib

zone Flow control and error handling for Node.js
bluebird
http://highlandjs.org/

Server

Harp : The static web server with built-in preprocessing. Harp serves Jade, Markdown, EJS, CoffeeScript, Sass, LESS and Stylus as HTML, CSS & JavaScript—no configuration necessary.

资源库

技术文章

收录一些经典文章:

其它

fibjs 一个类似 node 的环境,fibjs 是一个建立在 Google v8 Javascript 引擎基础上的应用服务器开发框架,不同于 node.js,fibjs 采用 fiber 解决 v8 引擎的多路复用,并通过大量 c++ 组件,将重负荷运算委托给后台线程,释放 v8 线程,争取更大的并发时间。

WebSockets the UNIX way
Full duplex messaging between web browsers and servers