Log in Sign up
Trang chủeBookPrinciples of Web API Design: Delivering Value with APIs and Microservices, 1st edition
Principles of Web API Design: Delivering Value with APIs and Microservices, 1st edition

Principles of Web API Design: Delivering Value with APIs and Microservices, 1st edition

BRAND: PEARSON
Publisher:
PEARSON
Author:
James Higginbotham
Edition:
(December 8, 2021) © 2022
eBook ISBN:
9780137355730
Print ISBN:
9780137355631
Type:
1 Year Subscription. Dành cho Cá nhân
Publisher:| eBook ISBN:eBook edition. 1 Year Subscription. Dành cho Cá nhân | Trường ĐH, Nhóm, Thư Viện: Gọi 0915920514 để báo giá Pearson, Vital Source eBook hoặc mua Sách In

Tổng quan sách

Hướng dẫn toàn bộ vòng đời về thiết kế APINguyên tắc thiết kế API Web tập hợp các nguyên tắc và quy trình để giúp sinh viên thành công trong toàn bộ vòng đời thiết kế API. Dựa trên kinh nghiệm sâu rộng, nhà tư vấn hàng đầu James Higginbotham giúp sinh viên điều chỉnh mọi bên liên quan về kết quả cụ thể, thiết kế các API mang lại giá trị và mở rộng quy trình thiết kế từ các nhóm nhỏ đến toàn bộ tổ chức.Higginbotham giúp sinh viên đưa góc nhìn "từ trong ra ngoài" vào thiết kế API để phản ánh tiếng nói của khách hàng và nhóm sản phẩm, ánh xạ các yêu cầu tới các API cụ thể và được tổ chức tốt, đồng thời chọn kiểu API phù hợp để viết chúng. Anh ấy xem qua một ví dụ thực tế ngay từ đầu, đưa ra hướng dẫn cho bất kỳ ai thiết kế API mới hoặc mở rộng các API hiện có.Cung cấp các API tuyệt vời bằng cách thực hiện đúng quy trình thiết kế của sinh viênĐạt được thỏa thuận về kết quả cụ thể từ nhóm thiết kế, khách hàng và các bên liên quan khácXây dựng các câu chuyện công việc, thực hiện EventStorming và mô hình hóa các khả năngXác định các API phù hợp và sắp xếp các hoạt động thành các cấu hình API mạch lạcChọn kiểu tốt nhất cho từng dự án: REST, gRPC, GraphQL hoặc API không đồng bộ dựa trên sự kiệnTinh chỉnh thiết kế dựa trên phản hồi từ người lập tài liệu, người kiểm tra và khách hàngPhân tách API thành microserviceChương trình API dành cho sinh viên trưởng thành, triển khai các quy trình thiết kế và quản lý trên quy mô lớnHướng dẫn này rất có giá trị đối với bất kỳ ai tham gia lập kế hoạch hoặc xây dựng API—kiến trúc sư, nhà phát triển, trưởng nhóm, người quản lý trong môi trường đơn lẻ và nhiều nhóm cũng như bất kỳ chuyên gia kỹ thuật hoặc kinh doanh nào cung cấp dịch vụ "API dưới dạng sản phẩm".Đăng ký cuốn sách này để có quyền truy cập thuận tiện vào các bản tải xuống, cập nhật và/hoặc chỉnh sửa khi chúng có sẵn. Xem sách bên trong để biết chi tiết.
  1. Series Editor Foreword xxiForeword xxvPreface xxviiAcknowledgments xxxiAbout the Author xxxiiiPart I: Introduction to Web API Design 1
  2. Chapter 1: The Principles of API Design 3The Elements of Web API Design 4API Design Is Communication 6Reviewing the Principles of Software Design 7Resource-Based API Design 10Resources Are Not Object or Domain Models 11Resource-Based APIs Exchange Messages 12The Principles of Web API Design 13Summary 14
  3. Chapter 2: Collaborative API Design 15Why an API Design Process? 15API Design Process Antipatterns 16The API Design-First Approach 20Remaining Agile with API Design-First 22The Align-Define-Design-Refine Process 23The Role of DDD in API Design 26API Design Involves Everyone 26Applying the Process Effectively 28Summary 28Part II: Aligning on API Outcomes 29
  4. Chapter 3: Identify Digital Capabilities 31Ensuring Stakeholder Alignment 32What Are Digital Capabilities? 33Focusing on the Jobs to Be Done 34What Are Job Stories? 35The Components of a Job Story 36Writing Job Stories for APIs 37Overcoming Job Story Challenges 38Techniques for Capturing Job Stories 40A Real-World API Design Project 41Job Story Examples 42Summary 42
  5. Chapter 4: Capture Activities and Steps 45Extending Job Stories into Activities and Steps 46Using EventStorming for Collaborative Understanding 49How EventStorming Works 50The Benefits of EventStorming 58Facilitating an EventStorming Session 60Customizing the Process 64Summary 65Part III: Defining Candidate APIs 67
  6. Chapter 5: Identifying API Boundaries 69Avoiding API Boundary Antipatterns 70Bounded Contexts, Subdomains, and APIs 72Finding API Boundaries Using EventStorming 73Finding API Boundaries through Activities 73Naming and Scoping APIs 75Summary 78
  7. Chapter 6: API Modeling 79What Is API Modeling? 80The API Modeling Process 81Validating the API Model with Sequence Diagrams 93Evaluating API Priority and Reuse 95Summary 96Part IV: Designing APIs 99
  8. Chapter 7: REST-Based API Design 101What Is a REST-Based API? 102REST API Design Process 112Selecting a Representation Format 125Common REST Design Patterns 132Summary 136
  9. Chapter 8: RPC and Query-Based API Design 137What Is an RPC-Based API? 138RPC API Design Process 142What Is a Query-Based API? 146Query-Based API Design Process 150Summary 157
  10. Chapter 9: Async APIs for Eventing and Streaming 159The Problem with API Polling 160Async APIs Create New Possibilities 161A Review of Messaging Fundamentals 162Async API Styles 171Designing Async APIs 178Documenting Async APIs 184Summary 186Part V: Refining the API Design 187
  11. Chapter 10: From APIs to Microservices 189What Are Microservices? 190Microservices Reduce Coordination Costs 192The Difference between APIs and Microservices 193Weighing the Complexity of Microservices 193Synchronous and Asynchronous Microservices 198Microservice Architecture Styles 201Right-Sizing Microservices 204Decomposing APIs into Microservices 204Considerations When Transitioning to Microservices 210Summary 211
  12. Chapter 11: Improving the Developer Experience 213Creating a Mock API Implementation 214Providing Helper Libraries and SDKs 219Offering CLIs for APIs 221Summary 224
  13. Chapter 12: API Testing Strategies 225Acceptance Testing 226Automated Security Testing 226Operational Monitoring 227API Contract Testing 227Selecting Tools to Accelerate Testing 229The Challenges of API Testing 230Make API Testing Essential 231Summary 231
  14. Chapter 13: Document the API Design 233The Importance of API Documentation 234API Description Formats 234Extending Docs with Code Examples 248From Reference Docs to a Developer Portal 251Effective API Documentation 253The Minimum Viable Portal 256Tools and Frameworks for Developer Portals 259Summary 260
  15. Chapter 14: Designing for Change 261The Impact of Change on Existing APIs 261API Versioning Strategies 264Deprecating APIs 268Establishing an API Stability Contract 270Summary 271
  16. Chapter 15: Protecting APIs 273The Potential for API Mischief 273Essential API Protection Practices 274Components of API Protection 276API Gateway Topologies 279Identity and Access Management 284Considerations before Building an In-House API Gateway 289Summary 291
  17. Chapter 16: Continuing the API Design Journey 293Establishing an API Style Guide 293Conducting API Design Reviews 297Developing a Culture of Reuse 300The Journey Has Only Begun 301Appendix: HTTP Primer 303Index 319
Chat Zalo