Accelerating Server-Side Development with Fastify: A comprehensive guide to API development for building a scalable backend for your web apps
Spigolon, Manuel, Sinik, Maksim, Collina, Matteo
- 出版商: Packt Publishing
- 出版日期: 2023-06-09
- 售價: $1,670
- 貴賓價: 9.5 折 $1,587
- 語言: 英文
- 頁數: 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.
商品描述(中文翻譯)
學習使用Fastify實現可維護和可插拔API,以構建更快速的網絡應用程序。
購買印刷版或Kindle電子書,即可獲得免費的PDF電子書。
主要特點:
- 由Fastify的核心貢獻者撰寫,幫助您採用Fastify的API開發思維
- 獲得Fastify微服務開發能力和功能的架構概述
- 從應用程序設計到生產,使用Fastify構建完整的應用程序
書籍描述:
本書是Fastify服務器端應用程序開發的完整指南,由這個高性能的基於插件的Web框架的核心貢獻者撰寫。在整本書中,您將發現它如何促進代碼重用,從而提高您的上市時間。
從介紹Fastify的基本概念開始,本指南將引導您通過開發一個真實項目,同時提供深入的解釋高級主題,以便為您構建高度可維護和可擴展的後端應用程序做好準備。本書提供了全面的指導,教您如何設計、開發和部署RESTful應用程序,包括詳細的構建可重用組件的指令,這些組件可以在多個項目中使用。本書提供了創建高效、可靠和易於維護的真實世界應用程序的指南。它還提供了有關最佳實踐、設計模式以及開發後端應用程序時如何避免常見問題的實用建議。
通過遵循這些指南和建議,您將能夠自信地設計、實施、部署和維護使用Fastify編寫的應用程序,並開發插件和API以貢獻給Fastify和開源社區。
您將學到什麼:
- 探索Fastify實現的封裝技術
- 了解如何在運行中的Fastify實例中部署、監控和處理錯誤
- 組織項目結構並實施微服務架構
- 探索Fastify的核心功能,如代碼重用、運行時速度等等
- 發現在真實世界的RESTful應用程序中實施Fastify的最佳實踐
- 了解高級後端開發概念,如性能監控和日誌記錄
本書適合專業級後端Web開發人員,他們已經使用過其他後端Web框架,並熟悉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
目錄大綱(中文翻譯)
- 什麼是Fastify?
- 插件系統和啟動過程
- 處理路由
- 探索Hooks
- 驗證和序列化
- 專案結構和配置管理
- 建立一個RESTful API
- 認證、授權和檔案處理
- 應用程式測試
- 部署和監控以維持應用程式健康
- 有意義的應用程式日誌
- 從單體架構到微服務
- 效能評估和改進
- 開發GraphQL API
- 安全的Fastify