Поиск  
Always will be ready notify the world about expectations as easy as possible: job change page
Книги для разработчиков

API Design Patterns

API Design Patterns

Автор:
Год:
Страниц:
480
Просмотров:
2801
API Design Patterns favorites 0
Описание

«API Design Patterns» lays out a set of design principles for building internal and public-facing APIs.

Summary

A collection of best practices and design standards for web and internal APIs.

In API Design Patterns you will learn:

  • Guiding principles for API patterns
  • Fundamentals of resource layout and naming
  • Handling data types for any programming language
  • Standard methods that ensure predictability
  • Field masks for targeted partial updates
  • Authentication and validation methods for secure APIs
  • Collective operations for moving, managing, and deleting data
  • Advanced patterns for special interactions and data transformations

API 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 your specific needs. Hands-on examples and relevant use-cases illustrate patterns for API fundamentals, advanced functionalities, and even uncommon scenarios.

About the technology

APIs 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 to use. This book collects and explains the most important patterns from both the API design community and the experts at Google.

About the book

API Design Patterns lays out a set of design principles for building internal and public-facing APIs. Google API expert JJ Geewax presents patterns that ensure your APIs are consistent, scalable, and flexible. You'll 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 inside

  • Guiding principles for API patterns
  • Fundamentals of resource layout and naming
  • Advanced patterns for special interactions and data transformations
  • A detailed case-study on building an API and adding features 

About the reader

For developers building web and internal APIs in any language.

Table of Contents

PART 1: INTRODUCTION

1. Introduction to APIs
2. Introduction to API design patterns

PART 2: DESIGN PRINCIPLES

3. Naming
4. Resource scope and hierarchy
5. Data types and defaults

PART 3: FUNDAMENTALS

6. Resource identification
7. Standard methods
8. Partial updates and retrievals
9. Custom methods
10. Long-running operations
11. Rerunnable jobs

PART 4: RESOURCE RELATIONSHIPS

12. Singleton sub-resources
13. Cross references
14. Association resources
15. Add and remove custom methods
16. Polymorphism

PART 5: COLLECTIVE OPERATIONS

17. Copy and move
18. Batch operations
19. Criteria-based deletion
20. Anonymous writes
21. Pagination
22. Filtering
23. Importing and exporting

PART 6: SAFETY AND SECURITY

24. Versioning and compatibility
25. Soft deletion
26. Request deduplication
27. Request validation
28. Resource revisions
29. Request retrial
30. Request authentication

Похожее
Modern API Design with ASP.NET Core 2
Автор: Fanie Reynders
Год: 2018
Use ASP.NET Core 2 to create durable and cross-platform web APIs through a series of applied, practical scenarios. Examples in this book help you build APIs that are fast and scalable. You’ll progress from the basics of the framework through...
The Complete ASP.NET Core 3 API Tutorial
Автор: Les Jackson
Год: 2020
Use this ASP.NET Core API tutorial and straightforward step-by-step guide to build, test, and deploy an ASP.NET Core API to Azure. It will help you code confidently and efficiently, and provides just what you need for context.The book starts with...
Write Powerful Rust Macros
Автор: Sam Van Overmeire
Год: 2024
An example-driven, step-by-step guide to success with Rust macros.In Write Powerful Rust Macros you’ll learn how to use these amazing metaprogramming tools to push Rust to its full potential. This hands-on guide takes you from the absolute basics to advanced...
Full Stack GraphQL Applications
Автор: William Lyon
Год: 2022
Build hyper-fast and hyper-efficient web applications with GraphQL! This practical, comprehensive guide introduces the powerful GRANDStack for developing full stack web applications based in graph data structures.In «Full Stack GraphQL Applications» you will learn how to: Build...
Написать сообщение
Тип
Почта
Имя
*Сообщение
RSS
Если вам понравился этот сайт и вы хотите меня поддержать, вы можете
Soft skills: 18 самых важных навыков, которыми должен владеть каждый работник
Проблема понимания существующего кода, или Как делать иногда [не] надо
Как мы столкнулись с версионированием и осознали, что вариант «просто проставить цифры» не работает
Почему сеньоры ненавидят собеседования с кодингом, и что компании должны использовать вместо них
Функции и хранимые процедуры в PostgreSQL: зачем нужны и как применять в реальных примерах
Гороскоп для разработчиков
9 тяжёлых уроков, которые я усвоил за 18 лет разработки
Зачем нужен MediatR?
Выгорание эволюционирует. Что такое «тихий уход» — новый тренд среди офисных сотрудников
Как лучше проводить one-to-one со своими сотрудниками: 5 лайфхаков из личного опыта
Boosty
Donate to support the project
GitHub account
GitHub profile