The Node.js Handbook
1 Table of Contents Preface The Node.js Handbook Conclusion 2 Preface The Node.js Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal is to get The Node.js Handbook 1. Introduction to Node.js 1.1. Node.js has a vast number of libraries 1.2. An example Node.js application 1.3. Node.js frameworks and tools 2. A brief history of Node.js 2.0 9. 2017 2.0.10. 2018 2.0.11. 2019 2.0.12. 2020 2.0.13. 2021 2.0.14. 2022 3. How to install Node.js 4. How much JavaScript do you need to know to use Node? 5. Differences between Node and the Browser0 码力 | 161 页 | 1.66 MB | 1 年前3Node.js - the core
Node.js - the core Mark Volkmann mark@ociweb.com Object Computing, Inc. April 21, 2012 Node.js Overview ... “Node's goal is to provide an easy way to build scalable network programs.” http://nodejs not just for building “servers” “The official name of Node is "Node". The unofficial name is "Node.js" to disambiguate it from other nodes.” https://github.com/joyent/node/wiki/FAQ Runs on top of Chrome Joyent 2 passed control of the project to Isaac Schlueter on 1/30/12 a cartoon from substack Node.js ... Overview Event-based rather than thread-based; can use multiple processes Assumes most time0 码力 | 124 页 | 7.87 MB | 1 年前3Node.js Manual & Documentation
Node.js Manual & Documentation 项目网址:http://cnodejs.org Pdf 发布:Lenzhang Table Of Contents Synopsis 概要 Global Objects 全局对象 o global o process o require() o require.resolve() exports is the same as the exports object. See src/node.js for more information. 指向当前模块的引用。特别的,当你通过 module.exports 和 exports 两种方 式访问的将是同一个对象,参见 src/node.js。 Timers 定时器 setTimeout(callback, delay, [arg] Buffer 中: str = "node.js"; buf = new Buffer(str.length); for (var i = 0; i < str.length ; i++) { buf[i] = str.charCodeAt(i); } console.log(buf); // node.js Buffer.isBuffer(obj)0 码力 | 153 页 | 1.21 MB | 1 年前3Release Notes for Node.js 18
Hat build of Node.js 18 Release Notes for Node.js 18 For use with Node.js 18 LTS Last Updated: 2023-01-31 Red Hat build of Node.js 18 Release Notes for Node.js 18 For use with Node.js 18 LTS Legal the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The their respective owners. Abstract This Release Note contains important information related to Node.js 18 LTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 18 页 | 106.27 KB | 1 年前3用 Node.js 滚「雪球」
用 Node.js 滚「雪球」 孟祥宇 mengxy@xueqiu.com http://xueqiu.com/mengxy http://xueqiu.com 聪明的投资者都在这里 「雪球」是什么 管理你的投资信息 与行业专家在线交流 信息复盘 选择Node.js之前的思考 前端工程师的知识结构 HTML/CSS/JS HTTP 前端工程师做什么 ● 面向用户的工程师 那样获取接口数据 ● 像 js 那样拼装 json 数据 ● 更方便的控制 html 渲染方式 ● 开发顺手的工具 初试牛刀 express http://expressjs.com node.js http module } {{ mustache }} 搞定上线 经常挂掉 - -||| uncaughtException https://github.com/shtylma0 码力 | 33 页 | 791.85 KB | 1 年前3全栈⼯程师之路 Node.js
全栈⼯工程师之路 Node.js by 桑世⻰龙(i5ting) i5ting:⼀一个开源爱好者 StuQ明星讲师 空弦科技CTO Node.js布道者 Cnodejs管理员 ⺫⽬目录 • Part 1:为什么选择 Node.js? • Part 2:Node.js快速开发实践 • Part 3:全栈展望 • Part 4: 如何全栈? Part 1:为什么选择 Node.js? 空弦科技做的是基于云仓储的 SaaS 服务,给中⼩小卖家提供服 务,核⼼心系统是进销存、订单池、WMS。 “JavaScript 是世界上使⽤用最⼲⼴广泛 的语⾔言,没有之⼀一,包括后端开发 ⼯工程师也更爱使⽤用 JavaScript。” ——stackoverflow 以前 我们总是喜欢拿异步说事⼉儿 除了性能,其他都是病? 现在我们拿 Node 稳定 Node.js 好处 • 同样不优化,性能⽐比⼤大部分语⾔言好。即使优化,也⽐比 其他语⾔言简单,⽐比如Java、go • 有⾜足够多的选择和架构的平衡 • 如实在不够,Java 补 简单?难? • 可以采⽤用⾯面向过程 • 可以⾯面向对象 • 可以函数式 快?慢? • 执⾏行效率,同样不优化,性能⽐比⼤大部分语⾔言好。 • 开发效率,Node.js 本⾝身⽐比较简单,开发效率还是⽐比0 码力 | 50 页 | 1.35 MB | 1 年前3Node.js在YunOS中的最佳实践
Node.js在YunOS中的最佳实践 叶敬福 1 摘要 • YunOS: 万物互联 • YunOS选择Node.js • Node.js在YunOS中的最佳实践 – 对IO优先的Looper机制的改造和优化 – SAB + Worker机制的实践 – 性能优化的实践 2 3 万物互联 4 Cloud App应用场景化 5 CloudApp json YunOS选择Node.js 6 基础技术架构 Cloud App Framework Rendering Engine Run(me & Node.js(VM) YunCore Libs & Services YunHAL Linux (kernel + drivers) Cloud App 7 Node.js对YunOS的助力 跨端 模块化、NaZve互调、事件模型 Node.js的不足 作为JavaScript虚拟机还不成熟 (缺少完整的libcore) ? 9 与V8强绑定,解耦或升级很困难 (naZve调用强依赖V8接口) ? CPU密集的计算场景中存在性能问题 (单线程,事件驱动,GC效率低) ? Node.js在YunOS中的最佳实践 100 码力 | 20 页 | 1.37 MB | 1 年前3Node.js Client & Web Bridge Ready for ROS 2.0
Node.js* Client & Web Bridge Ready for ROS* 2.0 Minggang Wang September 30 2018 Agenda ● Who We Are ● Why Use Node.js & Web in Robotics ● Thinking in “ROS 2.0 + Web” ● What We Have Done for “ROS Web” ● The Design of rclnodejs & ros2-web-bridge ● List of Features ● Performance Comparison: Node.js, C++ & Python ● Video Demo ● Intel Robot ● Contacts & Resource Links 2 3 Who we are ● package system in the world ● Easy deployment & debugging ● Naturally for web interface Why Use Node.js & Web in Robotics Benchmark Link NPM* is the largest package system in the world (>600k) ● Web0 码力 | 19 页 | 2.09 MB | 1 年前3Egg & Node.js 从⼩⼯坊⾛向企业级开发
Egg & Node.js 从⼩小⼯工坊⾛走向企业级开发 天猪 / 阿⾥里里游戏前端负责⼈人,Egg 核⼼心开发者 ⾃自我简介 ▸ 天猪 ▸ 阿⾥里里游戏前端负责⼈人,@⼴广州 @Alibaba UC ▸ Node.JS / EggJS / Scrat / Vue ▸ Follow me at : @atian25 @liuyong25 @liuyong25 基于上层框架开发的应⽤用 社区⽣生态 团队架构师 ⼀一线开发者 Node.js Plugin 插件⽣生态 适合特定团队业务场景的上层框架 Framework 蚂蚁 Chair UC Nut aliyun-egg … Specification ⼀一套规范和约定 Tool ⼯工具链 Base on Node.js [1/8] 你是否遇到过? 前端⼩小组 后端⼩小组 根据团队的技术栈选型:Java/Node/PHP/Python/Ruby... ▸ 我们的选择: ⼀一件重要的事情:服务⾃自治 在我们的业务场景中,相对较优,⽣生态最活跃,最能被前端接受的 Node.js Base on Koa [2/8] Base on Koa ▸ Koa based framework ▸ 当前解决异步编程最好的 Web 通⽤用框架,洋葱模型 ▸ 所有源代码0 码力 | 70 页 | 7.57 MB | 1 年前3聊聊 Node.js 构建部署时我们要关心的数据
聊聊 Node.js 构建部署时 我们要关心的数据 死月 死月 XadillaX(朱凯迪) 蚂蚁金服 Node.js 研发工程师 /《Node.js:来一打 C++ 扩展》作者 • 2013-2015 浙江大学 / 花瓣网 • 2015 大搜车 • 2017 蚂蚁金服 目录 CONTENTS ✦ 源起 ✦ 构建数据 ✦ 400+ Node.js 应用 来自灵魂的拷问 我是谁? 我要做什么? 谁用了我? 初衷 egg-niubility 构建部署流程 构建任务 统一脚本 触发部署 应用节点 统一脚本 应用本身 启动元信息收集 接收⽅方 触发构建 部署结果 启动数据 构建数据 2 构建数据 我要关心构建时的哪些数据? 工具 / 版本治理 ‣ Node.js / alinode alinode 运行时版本 ‣ 语言:JavaScript / TypeScript ‣ 前端构建工具 / 版本 ‣ 前后端框架 / 版本 Node.js 版本饼图 Node.js alinode v4.* v6.* v8.* v10.* * 以上图表为演示数据,并非公司真实数据 框架 / 构建工具饼图 Chair 1.3.* Chair 1.4.* Chair 1.5.* Rodhog0 码力 | 47 页 | 5.80 MB | 1 年前3
共 596 条
- 1
- 2
- 3
- 4
- 5
- 6
- 60