====== Node.js ====== [[http://nodejs.org/|Node.js]]是一个服务器端的JavaScript运行环境,采用事件驱动和非阻塞I/O模式,以应对高并发的网络应用。下面是官方的自我介绍: * Node.js is a platform built on [[https://code.google.com/p/v8/|Chrome's JavaScript runtime]] for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. 与传统的多进(线)程、同步I/O的服务器设计方法不同,Node.js走了一条截然相反的道路,同样获得了成功,这或许是个很好的启示。 相应的,问题随之而来:我们需要摆脱固有的同步思维模式,不时提醒自己要“异步”的去思考。 ===== 文档 ===== [[.:installation | Node.js的安装和配置 ]] {{tag>Node.js}}