Book description
Proven Patterns for Designing Evolvable High-Quality APIs--For Any Domain, Technology, or Platform
This book provides a healthy mix of theory and practice, containing numerous nuggets of deep advice but never losing the big picture . . . grounded in real-world experience and documented with academic rigor applied and practitioner community feedback incorporated. I am confident that [it] will serve the community well, today and tomorrow.
--Prof. Dr. Dr. h. c. Frank Leymann, Managing Director, Institute of Architecture of Application Systems, University of Stuttgart
APIs enable breakthrough innovation and digital transformation in organizations and ecosystems of all kinds. To create user-friendly, reliable and well-performing APIs, architects, designers, and developers need expert design guidance. This practical guide cuts through the complexity of API conversations and their message contents, introducing comprehensive guidelines and heuristics for designing APIs sustainably and specifying them clearly, for whatever technologies or platforms you use.
In Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges, five expert architects and developers cover the entire API lifecycle, from launching projects and establishing goals through defining requirements, elaborating designs, planning evolution, and creating useful documentation. They crystallize the collective knowledge of many practitioners into 44 API design patterns, consistently explained with context, pros and cons, conceptual solutions, and concrete examples. To make their pattern language accessible, they present a domain model, a running case study, decision narratives with pattern selection options and criteria, and walkthroughs of real-world projects applying the patterns in two different industries.
Identify and overcome API design challenges with patterns
Size your endpoint types and operations adequately
Design request and response messages and their representations
Refine your message design for quality
Plan to evolve your APIs
Document and communicate your API contracts
Combine patterns to solve real-world problems and make the right tradeoffs
..
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- Pearson’s Commitment to Diversity, Equity, and Inclusion
- Contents
- Foreword by Vaughn Vernon, Series Editor
- Foreword by Frank Leymann
- Preface
- Acknowledgments
- About the Authors
-
Part 1: Foundations and Narratives
- Chapter 1: Application Programming Interface (API) Fundamentals
- Chapter 2: Lakeside Mutual Case Study
-
Chapter 3: API Decision Narratives
- Prelude: Patterns as Decision Options, Forces as Decision Criteria
- Foundational API Decisions and Patterns
- Decisions about API Roles and Responsibilities
- Selecting Message Representation Patterns
- Interlude: Responsibility and Structure Patterns in the Lakeside Mutual Case
- Governing API Quality
- Deciding for API Quality Improvements
- Decisions about API Evolution
- Summary
- Part 2: The Patterns
- Part 3: Our Patterns in Action (Now and Then)
- Appendix A. Endpoint Identification and Pattern Selection Guides
- Appendix B. Implementation of the Lakeside Mutual Case
- Appendix C. Microservice Domain-Specific Language (MDSL)
- Bibliography
- Index
- Code Snippets
Product information
- Title: Patterns for API Design: Simplifying Integration with Loosely Coupled Message Exchanges
- Author(s):
- Release date: November 2022
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780137670093
You might also like
book
API Design Patterns
A collection of best practices and design standards for web and internal APIs. In API Design …
book
Principles of Web API Design: Delivering Value with APIs and Microservices
The Full-Lifecycle Guide to API Design brings together principles and processes to help you succeed across …
video
Design Patterns in the Real World, an Analysis-Based Approach
Alan Holub takes coders deep into the reality of Gang-of-Four design patterns, those reusable guides to …
book
Designing APIs with Swagger and OpenAPI
Follow real-world API projects from concept to production, and learn hands-on how to describe and design …