Accelerating Server-Side Development with Fastify: A comprehensive guide to API development for building a scalable backend for your web apps
暫譯: 使用 Fastify 加速伺服器端開發:構建可擴展網頁應用後端的 API 開發全面指南
Spigolon, Manuel, Sinik, Maksim, Collina, Matteo
- 出版商: Packt Publishing
- 出版日期: 2023-06-09
- 售價: $1,700
- 貴賓價: 9.5 折 $1,615
- 語言: 英文
- 頁數: 406
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1800563582
- ISBN-13: 9781800563582
-
相關分類:
JVM 語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Learn to build faster web applications by implementing maintainable and pluggable APIs with Fastify
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Written by Fastify's core contributors to help you adopt the Fastify mindset for API development
- Gain an architectural overview of Fastify's microservices development capabilities and features
- Build complete apps in Fastify, from application design to production
Book Description
This book is a complete guide to server-side app development in Fastify, written by the core contributors of this highly performant plugin-based web framework. Throughout the book, you'll discover how it fosters code reuse, thereby improving your time to market.
Starting with an introduction to Fastify's fundamental concepts, this guide will lead you through the development of a real-world project while providing in-depth explanations of advanced topics to prepare you to build highly maintainable and scalable backend applications. The book offers comprehensive guidance on how to design, develop, and deploy RESTful applications, including detailed instructions for building reusable components that can be leveraged across multiple projects. The book presents guidelines for creating efficient, reliable, and easy-to-maintain real-world applications. It also offers practical advice on best practices, design patterns, and how to avoid common pitfalls encountered by developers while building backend applications.
By following these guidelines and recommendations, you'll be able to confidently design, implement, deploy, and maintain an application written in Fastify, and develop plugins and APIs to contribute to the Fastify and open source communities.
What you will learn
- Explore the encapsulation techniques implemented by Fastify
- Understand how to deploy, monitor, and handle errors in a running Fastify instance
- Organize the project structure and implement a microservices architecture
- Explore Fastify's core features such as code reuse, runtime speed, and much more
- Discover best practices for implementing Fastify in real-world RESTful apps
- Understand advanced backend development concepts such as performance monitoring and logging
Who this book is for
This book is for mid to expert-level backend web developers who have already used other backend web frameworks and are familiar with HTTP protocol and its peculiarities. Developers looking to migrate to Fastify, evaluate its suitability for their next project, avoid architecture pitfalls, and build highly responsive and maintainable API servers will also find this book useful. The book assumes knowledge of JavaScript programming, Node.js, and backend development.
商品描述(中文翻譯)
學習如何透過實作可維護且可插拔的 API 來建立更快速的網頁應用程式,使用 Fastify。
購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書。
主要特色
- 由 Fastify 的核心貢獻者撰寫,幫助您採用 Fastify 的思維方式進行 API 開發
- 獲得 Fastify 微服務開發能力和特性的架構概述
- 在 Fastify 中構建完整的應用程式,從應用程式設計到生產
書籍描述
本書是關於在 Fastify 中進行伺服器端應用程式開發的完整指南,由這個高效能的基於插件的網頁框架的核心貢獻者撰寫。在整本書中,您將發現它如何促進代碼重用,從而改善您的上市時間。
本指南從介紹 Fastify 的基本概念開始,將引導您開發一個真實世界的專案,同時提供深入的高級主題解釋,幫助您準備構建高度可維護和可擴展的後端應用程式。本書提供了設計、開發和部署 RESTful 應用程式的全面指導,包括構建可重用組件的詳細說明,這些組件可以在多個專案中使用。本書還提供了創建高效、可靠且易於維護的真實世界應用程式的指導方針,並提供有關最佳實踐、設計模式以及如何避免開發者在構建後端應用程式時常見陷阱的實用建議。
遵循這些指導方針和建議,您將能夠自信地設計、實作、部署和維護用 Fastify 編寫的應用程式,並開發插件和 API 以貢獻於 Fastify 和開源社群。
您將學到什麼
- 探索 Fastify 實作的封裝技術
- 了解如何在運行中的 Fastify 實例中部署、監控和處理錯誤
- 組織專案結構並實作微服務架構
- 探索 Fastify 的核心特性,如代碼重用、運行速度等
- 發現在真實世界的 RESTful 應用程式中實作 Fastify 的最佳實踐
- 了解高級後端開發概念,如性能監控和日誌記錄
本書適合誰
本書適合中級到高級的後端網頁開發者,他們已經使用過其他後端網頁框架,並熟悉 HTTP 協議及其特性。希望遷移到 Fastify、評估其對下一個專案的適用性、避免架構陷阱並構建高度響應和可維護的 API 伺服器的開發者也會發現本書有用。本書假設讀者具備 JavaScript 編程、Node.js 和後端開發的知識。
目錄大綱
- What is Fastify?
- The Plugin System and the Boot Process
- Working with Routes
- Exploring Hooks
- Exploring Validation and Serialization
- Project Structure and Configuration Management
- Building a RESTful API
- Authentication, Authorization, and File Handling
- Application Testing
- Deployment and Process monitoring for a healthy application
- Meaningful Application logging
- From a Monolith to Microservices
- Performance Assessment and Improvement
- Developing a GraphQL API
- Type-Safe Fastify
目錄大綱(中文翻譯)
- What is Fastify?
- The Plugin System and the Boot Process
- Working with Routes
- Exploring Hooks
- Exploring Validation and Serialization
- Project Structure and Configuration Management
- Building a RESTful API
- Authentication, Authorization, and File Handling
- Application Testing
- Deployment and Process monitoring for a healthy application
- Meaningful Application logging
- From a Monolith to Microservices
- Performance Assessment and Improvement
- Developing a GraphQL API
- Type-Safe Fastify