API Design Patterns

Cover of API Design Patterns

EPUB · English

Price and availability

EPUB eBookUS store

$79.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
17 August 2021
ISBN
9781638350330
Subjects
Web programming, Web services, Client-Server networking, Web programming, Web services, Client–Server networking

About this book

&quote;A concept-rich book on API design patterns. Deeply engrossing and fun to read.&quote; - Satej Sahu, HoneywellAPI Design Patterns lays out a set of design principles for building internal and public-facing APIs.In API Design Patterns you will learn:Guiding principles for API patternsFundamentals of resource layout and namingHandling data types for any programming languageStandard methods that ensure predictabilityField masks for targeted partial updatesAuthentication and validation methods for secure APIsCollective operations for moving, managing, and deleting dataAdvanced patterns for special interactions and data transformationsAPI Design Patterns reveals best practices for building stable, user-friendly APIs. These design patterns can be applied to solve common API problems and flexibly altered to fit specific needs. Hands-on examples and relevant cases illustrate patterns for API fundamentals, advanced functionalities, and uncommon scenarios.Foreword by Jon Skeet.About the technologyAPIs are contracts that define how applications, services, and components communicate. API design patterns provide a shared set of best practices, specifications and standards that ensure APIs are reliable and simple for other developers. This book collects and explains the most important patterns from both the API design community and the experts at Google.About the bookAPI Design Patterns lays out a set of principles for building internal and public-facing APIs. Google API expert JJ Geewax presents patterns that ensure your APIs are consistent, scalable, and flexible. Youll improve the design of the most common APIs, plus discover techniques for tricky edge cases. Precise illustrations, relevant examples, and detailed scenarios make every pattern clear and easy to understand.What's insideGuiding principles for API patternsFundamentals of resource layout and namingAdvanced patterns for special interactions and data transformationsA detailed case-study on building an API and adding featuresAbout the readerFor developers building web and internal APIs in any language.About the authorJJ Geewax is a software engineer at Google, focusing on Google Cloud Platform, API design, and real-time payment systems. He is also the author of Mannings Google Cloud Platform in Action.Table of ContentsPART 1 INTRODUCTION1 Introduction to APIs2 Introduction to API design patternsPART 2 DESIGN PRINCIPLES3 Naming4 Resource scope and hierarchy5 Data types and defaultsPART 3 FUNDAMENTALS6 Resource identification7 Standard methods8 Partial updates and retrievals9 Custom methods10 Long-running operations11 Rerunnable jobsPART 4 RESOURCE RELATIONSHIPS12 Singleton sub-resources13 Cross references14 Association resources15 Add and remove custom methods16 PolymorphismPART 5 COLLECTIVE OPERATIONS17 Copy and move18 Batch operations19 Criteria-based deletion20 Anonymous writes21 Pagination22 Filtering23 Importing and exportingPART 6 SAFETY AND SECURITY24 Versioning and compatibility25 Soft deletion26 Request deduplication27 Request validation28 Resource revisions29 Request retrial30 Request authentication

Bibliographic data © Gardners Books Ltd.