Node.js 与前端开发实战| 青训营笔记

49 阅读1分钟

这是我参与「第五届青训营 」伴学笔记创作活动的第八天

课程重点

  1. 介绍 Node.js 的应用场景
  2. 介绍 Node.js 运行时结构
  3. 如何用编写 Http Server
  4. 延伸话题

详细知识点介绍

node.js的应用场景

image.png

  • 前端工程化

image.png

  • Web服务端应用

image.png

  • Electron跨端桌面应用

image.png

image.png

node.js运行时结构

image.png

  • V8,libuv

image.png

  • 特点

image.png

  • 异步IO

image.png

  • 单线程

image.png

  • 跨平台

image.png

编写Http Server

image.png

  • 安装node.js

image.png

  • Http Server

image.png

  • Http Client

image.png

  • Promisify

image.png

  • 静态文件

image.png

  • React SSR

image.png

image.png

  • Debug

image.png

image.png

  • 部署

image.png

延伸话题

  • node.js代码贡献
  • 编译node.js
  • 诊断/追踪
  • WASM,NAPI

image.png

image.png

image.png

image.png

image.png

引用参考

Node.js 与前端开发实战