指南目录
指南目录
¥Guides Table Of Contents
该目录按字母顺序排列。
¥This table of contents is in alphabetical order.
基准:本指南介绍如何基于 Fastify 对应用进行基准测试。
¥Benchmarking: This guide introduces how to benchmark applications based on Fastify.
贡献:详细介绍了如何参与 Fastify 的开发,并展示了如何搭建与项目代码风格兼容的环境。
¥Contributing: Details how to participate in the development of Fastify, and shows how to setup an environment compatible with the project's code style.
延迟接受请求:有关如何延迟对特定路由的服务请求直到应用中满足某些条件的实用指南。本指南重点介绍如何使用
Hooks
、Decorators
和Plugins
解决问题。¥Delay Accepting Requests: A practical guide on how to delay serving requests to specific routes until some condition is met in your application. This guide focuses on solving the problem using
Hooks
,Decorators
, andPlugins
.检测客户端何时中止:有关检测客户端是否以及何时中止请求的实用指南。
¥Detecting When Clients Abort: A practical guide on detecting if and when a client aborts a request.
生态系统:列出所有核心插件和许多已知的社区插件。
¥Ecosystem: Lists all core plugins and many known community plugins.
流畅结构:展示如何使用流畅的 API 编写 JSON 模式并在 Fastify 中使用。
¥Fluent Schema: Shows how writing JSON Schema can be written with a fluent API and used in Fastify.
入门:Fastify 入门教程。这是初学者应该开始的地方。
¥Getting Started: Introduction tutorial for Fastify. This is where beginners should start.
迁移指南 (v4):详细介绍如何从早期版本迁移到 Fastify v4。
¥Migration Guide (v4): Details how to migrate to Fastify v4 from earlier versions.
迁移指南 (v3):详细介绍如何从早期版本迁移到 Fastify v3。
¥Migration Guide (v3): Details how to migrate to Fastify v3 from earlier versions.
插件指南:编写 Fastify 插件的非正式介绍。
¥Plugins Guide: An informal introduction to writing Fastify plugins.
原型中毒:原型中毒攻击如何运作和缓解的描述。
¥Prototype Poisoning: A description of how the prototype poisoning attack works and is mitigated.
建议:有关如何将 Fastify 部署到生产环境中的建议。
¥Recommendations: Recommendations for how to deploy Fastify into production environments.
Serverless:有关如何在各种功能即服务 (FaaS) 环境中部署 Fastify 应用的详细信息。
¥Serverless: Details on how to deploy Fastify applications in various Function as a Service (FaaS) environments.
风格指南:为那些想要贡献文档的人解释我们用于 Fastify 文档的写作风格。
¥Style Guide: Explains the writing style we use for the Fastify documentation for those who want to contribute documentation.
测试:解释如何为 Fastify 应用编写单元测试。
¥Testing: Explains how to write unit tests for Fastify applications.
编写插件:Fastify 团队认为编写 Fastify 插件的良好实践的一组指南。
¥Write Plugin: A set of guidelines for what the Fastify team considers good practices for writing a Fastify plugin.