Module 03 · Express Web Application FrameworkExpress Web 应用框架
Module Summary模块总结
Congratulations! You have completed this module. At this point in the course, you know:
恭喜!您已完成本模块。在课程的这个阶段,您已经知道:
- Developers rely on third-party packages to extend Node.js.
开发者依赖第三方包来扩展 Node.js。 - You can use the npm application to manage Node.js packages in your Node.js framework installation.
您可以使用 npm 应用程序来管理您的 Node.js 框架安装中的 Node.js 包。 - The MVC architecture style divides a back-end application into three parts: the model, the view, and the controller.
MVC 架构风格将后端应用程序分为三个部分:模型、视图和控制器。 - REST API frameworks use HTTP methods to communicate with each other.
REST API 框架使用 HTTP 方法相互通信。 - Express abstracts low-level details.
表达抽象,省略低级细节。 - Routing can be handled at the application level or at the router level.
路由可以在应用层或路由器层进行处理。 - Five types of middleware are application level, router level, error handling, built-in middleware, and third party.
五种中间件类型为应用层、路由层、错误处理、内置中间件和第三方。 - Template rendering is the ability of the server to fill in dynamic content.
模板渲染是服务器填充动态内容的能力。 - The npm jsonwebtoken package should be required in an Express application to authenticate a user.
npm jsonwebtoken 包应在 Express 应用程序中需要以验证用户。