The Design of Web Apis, Second Edition
暫譯: 網路 API 設計(第二版)
Lauret, Arnaud
- 出版商: Manning
- 出版日期: 2025-07-22
- 售價: $2,070
- 貴賓價: 9.5 折 $1,967
- 語言: 英文
- 頁數: 536
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1633438147
- ISBN-13: 9781633438149
海外代購書籍(需單獨結帳)
相關主題
商品描述
Learn how to design web APIs that are a delight to use and maintain. Thousands of developers have followed renowned API expert Arnaud Lauret's guidance to create APIs that are flexible, secure, and easily integrated. This new edition of the bestselling The Design of Web APIs covers the latest updates to the OpenAPI standard, teaches you to streamline and standardize API design decisions with rationale and automation, and gives you insights you can apply to other API styles, such as gRPC. You'll quickly see how a well-designed and properly-documented API gives your users autonomy--and saves you from constant explanations and hand-holding. This fully revised second edition of The Design of Web APIs teaches you the principles and techniques you need to design easy-to-consume public and private web APIs. In it, you'll learn how to: - Analyze requirements to identify API capabilities for versatile, reusable designs
- Create HTTP-based REST APIs with CRUD, batch/bulk, or long operations
- Design interoperable, user-friendly APIs with seamless operations and data flow
- Ensure secure, efficient APIs while overcoming limitations and constraints
- Modify APIs without breaking compatibility, evaluating consequences carefully
- Future-proof your APIs and choose effective versioning strategies
- Document REST APIs using OpenAPI and JSON Schema for seamless implementation
- Streamline and standardize API design decisions with rationale and automation The Design of Web APIs, Second Edition teaches vital skills for gathering requirements, balancing business and technical goals and constraints, and adopting a consumer-first mindset. Each chapter is packed full of hands-on examples, including designing an Online Shopping API and user-friendly banking operations, and over seventy exercises to help your new skills stick. Plus, you'll explore paradigms applicable beyond REST APIs, and fully describe and document your APIs with OpenAPI and JSON Schema. Your web APIs will soon be easier to consume and your clients--internal and external--will be happier than ever! About the technology Web APIs open up your software to developers, exposing features, and capabilities to other programs. Well-designed web APIs are a joy. The bad ones are a nightmare, with endless impact on system performance, developer productivity, and end-user experience. This book shows you how to design APIs your fellow developers will love to use. About the book The Design of Web APIs, Second Edition teaches you to design efficient and adaptable REST APIs. This revised and rewritten second edition contains the latest updates to the OpenAPI standard, along with insights you can apply to other API styles such as GraphQL. Learn vital skills for gathering requirements, creating easy-to-consume public and private web APIs, and handling non-backward compatible modifications and versioning. What's inside - Design reusable, user-friendly and interoperable APIs
- Document your APIs with OpenAPI and JSON Schema
- Create secure and efficient APIs by design
- Streamline and standardize API design decisions About the reader Written for developers with experience building and consuming APIs. About the author Arnaud Lauret runs the API Handyman blog and is a frequent speaker at API conferences. He currently works as an API Industry Researcher at Postman. Table of Contents 1 What is API design?
Part 1
2 Identifying API capabilities
3 Observing operations from the REST angle
4 Representing operations with HTTP
5 Modeling data
6 Describing HTTP operations with OpenAPI
7 Describing data with JSON Schema in OpenAPI
Part 2
8 Designing user-friendly, interoperable data
9 Designing user-friendly, interoperable operations
10 Designing user-friendly, interoperable operation flows
11 Designing user-friendly, interoperable APIs
Part 3
12 Designing a secure API
13 Designing an efficient API
14 Adapting the API design to the context
15 Modifying an API
Part 4
16 Facilitating API design decision-making
17 Optimizing an OpenAPI document
18 Automating API design guidelines
19 Enriching API design artifacts
A Solutions to the exercises Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
- Create HTTP-based REST APIs with CRUD, batch/bulk, or long operations
- Design interoperable, user-friendly APIs with seamless operations and data flow
- Ensure secure, efficient APIs while overcoming limitations and constraints
- Modify APIs without breaking compatibility, evaluating consequences carefully
- Future-proof your APIs and choose effective versioning strategies
- Document REST APIs using OpenAPI and JSON Schema for seamless implementation
- Streamline and standardize API design decisions with rationale and automation The Design of Web APIs, Second Edition teaches vital skills for gathering requirements, balancing business and technical goals and constraints, and adopting a consumer-first mindset. Each chapter is packed full of hands-on examples, including designing an Online Shopping API and user-friendly banking operations, and over seventy exercises to help your new skills stick. Plus, you'll explore paradigms applicable beyond REST APIs, and fully describe and document your APIs with OpenAPI and JSON Schema. Your web APIs will soon be easier to consume and your clients--internal and external--will be happier than ever! About the technology Web APIs open up your software to developers, exposing features, and capabilities to other programs. Well-designed web APIs are a joy. The bad ones are a nightmare, with endless impact on system performance, developer productivity, and end-user experience. This book shows you how to design APIs your fellow developers will love to use. About the book The Design of Web APIs, Second Edition teaches you to design efficient and adaptable REST APIs. This revised and rewritten second edition contains the latest updates to the OpenAPI standard, along with insights you can apply to other API styles such as GraphQL. Learn vital skills for gathering requirements, creating easy-to-consume public and private web APIs, and handling non-backward compatible modifications and versioning. What's inside - Design reusable, user-friendly and interoperable APIs
- Document your APIs with OpenAPI and JSON Schema
- Create secure and efficient APIs by design
- Streamline and standardize API design decisions About the reader Written for developers with experience building and consuming APIs. About the author Arnaud Lauret runs the API Handyman blog and is a frequent speaker at API conferences. He currently works as an API Industry Researcher at Postman. Table of Contents 1 What is API design?
Part 1
2 Identifying API capabilities
3 Observing operations from the REST angle
4 Representing operations with HTTP
5 Modeling data
6 Describing HTTP operations with OpenAPI
7 Describing data with JSON Schema in OpenAPI
Part 2
8 Designing user-friendly, interoperable data
9 Designing user-friendly, interoperable operations
10 Designing user-friendly, interoperable operation flows
11 Designing user-friendly, interoperable APIs
Part 3
12 Designing a secure API
13 Designing an efficient API
14 Adapting the API design to the context
15 Modifying an API
Part 4
16 Facilitating API design decision-making
17 Optimizing an OpenAPI document
18 Automating API design guidelines
19 Enriching API design artifacts
A Solutions to the exercises Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
商品描述(中文翻譯)
學習如何設計令人愉悅的網路 API,使其易於使用和維護。
數千名開發者遵循著名 API 專家 Arnaud Lauret 的指導,創建靈活、安全且易於整合的 API。本書暢銷書籍 The Design of Web APIs 的新版本涵蓋了 OpenAPI 標準的最新更新,教您如何通過理論和自動化來簡化和標準化 API 設計決策,並提供可應用於其他 API 風格(如 gRPC)的見解。您將迅速發現,設計良好且文檔完善的 API 能夠賦予用戶自主權,並免去您不斷解釋和指導的麻煩。 本書全面修訂的第二版 The Design of Web APIs 教您設計易於消費的公共和私有網路 API 所需的原則和技術。在書中,您將學習如何: - 分析需求以識別 API 功能,實現多用途、可重用的設計- 創建基於 HTTP 的 REST API,支持 CRUD、批量/批次或長時間操作
- 設計可互操作的、用戶友好的 API,實現無縫操作和數據流
- 確保安全、高效的 API,同時克服限制和約束
- 在不破壞兼容性的情況下修改 API,仔細評估後果
- 為您的 API 未來做好準備,選擇有效的版本控制策略
- 使用 OpenAPI 和 JSON Schema 文檔化 REST API,以實現無縫實施
- 通過理論和自動化簡化和標準化 API 設計決策 The Design of Web APIs, Second Edition 教授收集需求、平衡商業與技術目標及約束、以及採用以消費者為中心的思維方式的關鍵技能。每一章都充滿了實用範例,包括設計在線購物 API 和用戶友好的銀行操作,以及超過七十個練習,幫助您鞏固新技能。此外,您將探索適用於 REST API 以外的範式,並使用 OpenAPI 和 JSON Schema 完全描述和文檔化您的 API。您的網路 API 將變得更易於消費,您的客戶——無論是內部還是外部——將比以往任何時候都更滿意! 關於技術 網路 API 使您的軟體對開發者開放,將功能和能力暴露給其他程式。設計良好的網路 API 是一種樂趣,而不良的 API 則是一場噩夢,對系統性能、開發者生產力和最終用戶體驗造成無盡的影響。本書將教您如何設計讓其他開發者喜愛使用的 API。 關於本書 The Design of Web APIs, Second Edition 教您設計高效且可適應的 REST API。這一修訂和重寫的第二版包含了 OpenAPI 標準的最新更新,以及可應用於其他 API 風格(如 GraphQL)的見解。學習收集需求、創建易於消費的公共和私有網路 API,以及處理不向後兼容的修改和版本控制的關鍵技能。 內容概覽 - 設計可重用、用戶友好且可互操作的 API
- 使用 OpenAPI 和 JSON Schema 文檔化您的 API
- 通過設計創建安全且高效的 API
- 簡化和標準化 API 設計決策 關於讀者 本書適合有經驗的開發者,專注於構建和使用 API。 關於作者 Arnaud Lauret 經營 API Handyman 部落格,並經常在 API 會議上演講。他目前擔任 Postman 的 API 行業研究員。 目錄 1 什麼是 API 設計?
第 1 部分
2 識別 API 功能
3 從 REST 角度觀察操作
4 使用 HTTP 表示操作
5 建模數據
6 使用 OpenAPI 描述 HTTP 操作
7 在 OpenAPI 中使用 JSON Schema 描述數據
第 2 部分
8 設計用戶友好、可互操作的數據
9 設計用戶友好、可互操作的操作
10 設計用戶友好、可互操作的操作流程
11 設計用戶友好、可互操作的 API
第 3 部分
12 設計安全的 API
13 設計高效的 API
14 根據上下文調整 API 設計
15 修改 API
第 4 部分
16 促進 API 設計決策
17 優化 OpenAPI 文檔
18 自動化 API 設計指南
19 豐富 API 設計文檔
A 練習解答 購買印刷版書籍時,您將獲得 Manning 提供的免費電子書(PDF 或 ePub),以及訪問在線 liveBook 格式(及其 AI 助手,能用任何語言回答您的問題)的權限。