• Complain

JJ Geewax - API Design Patterns

Here you can read online JJ Geewax - API Design Patterns full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Manning Publications, genre: Romance novel. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

JJ Geewax API Design Patterns
  • Book:
    API Design Patterns
  • Author:
  • Publisher:
    Manning Publications
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

API Design Patterns: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "API Design Patterns" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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. 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.
Whats 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.
About the author
JJ Geewaxis 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 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

JJ Geewax: author's other books


Who wrote API Design Patterns? Find out the surname, the name of the author of the book and a list of all author's works by series.

API Design Patterns — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "API Design Patterns" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
inside front cover

Topic

This topic covers...

Resource identification

How to identify resources in an API

Standard methods

The set of standard methods for use in resource-oriented APIs

Partial updates and retrievals

How to interact with portions of resources

Custom methods

Using custom (non-standard) methods in resource-oriented APIs

Long-running operations

How to handle methods that are not instantaneous

Rerunnable jobs

Running repeated custom functionality in an API

Singleton sub-resources

Isolating portions of resource data

Cross references

How to reference other resources in an API

Association resources

How to manage many-to-many relationships with metadata

Add and remove custom methods

How to manage many-to-many relationships without metadata

Polymorphism

Designing resources with dynamically-typed attributes

Copy and move

Duplicating and relocating resources in an API

Batch operations

Extending methods to apply to groups of resources atomically

Criteria-based deletion

Deleting multiple resources based on a set of filter criteria

Anonymous writes

Ingesting unaddressable data into an API

Pagination

Consuming large amounts of data in bite-sized chunks

Filtering

Limiting result sets according to a user-specified filter

Importing and exporting

Moving data into or out of an API by interacting directly with a storage system

Versioning and compatibility

Defining compatibility and strategies for versioning APIs

Soft deletion Moving resources to the

API recycle bin

Request deduplication

Preventing duplicate work due to network interruptions in APIs

Request validation

Allowing API methods to be called in safe mode

Resource revisions

Tracking resource change history

Request retrial

Algorithms for safely retrying API requests

Request authentication

Verifying that requests are authentic and untampered with

API Design Patterns - image 1

API Design Patterns

JJ Geewax

Foreword by Jon Skeet

To comment go to liveBook

API Design Patterns - image 2

Manning

Shelter Island

For more information on this and other Manning titles go to

www.manning.com

Copyright

For online information and ordering of these and other Manning books, please visit www.manning.com. The publisher offers discounts on these books when ordered in quantity.

For more information, please contact

Special Sales Department

Manning Publications Co.

20 Baldwin Road

PO Box 761

Shelter Island, NY 11964

Email: orders@manning.com

2021 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

API Design Patterns - image 3

Manning Publications Co.

20 Baldwin Road Technical

PO Box 761

Shelter Island, NY 11964

Development editor:

Christina Taylor

Technical development editor:

Al Krinker

Review editor:

Ivan Martinovi

Production editor:

Deirdre S. Hiam

Copy editor:

Michele Mitchell

Proofreader:

Keri Hales

Technical proofreader:

Karsten Strbk

Typesetter:

Dennis Dalinnik

Cover designer:

Marija Tudor

ISBN: 9781617295850

dedication

To Kai and Luca. You are awesome.

front matter
foreword

It started with a drum kit. In the summer of 2019, a friend of mine got me into drumming with an electronic kit, and I embraced it wholeheartedly. Sometimes I would actually play the drums, but I spent a rather larger proportion of my time writing code to interact with my drum kits configuration using MIDI SysEx commands.

When the COVID-19 pandemic hit, I suddenly had rather different priorities in terms of considering the audio/visual needs of my local church, both while we were worshiping remotely and considering how we might meet in person again. This involved learning about protocols such as VISCA, NDI, and OSC (for cameras and audio mixers) as well as more software-oriented integration with Zoom, VLC, PowerPoint, Stream Deck, and more.

These projects dont have huge amounts of business logic. Almost all the code is integration code, which is at once frustrating and hugely empowering. Its frustrating because of protocols that are obscurely documented or arent really designed for the kind of usage Im trying to achieve, or are just inconsistent with each other. Its empowering because once youve cracked the integration aspect, you can write useful apps really easily, standing on the shoulders of multiple giants.

While my experience over the past couple of years has been primarily local integration, the same balance of frustration and empowerment applies with web APIs. Every experience Ive had of picking up a new web API has had a curve of emotional responses, including some mix of excitement, bewilderment, annoyance, acceptance, and eventual uneasy peace. Once you thoroughly understand a powerful API, it feels like youre the conductor of a magnificent orchestra, ready to play whatever music you provideeven if the violin players notes are only eventually consistent and you have to use a different color of baton for the brass section for no obvious reason.

This book wont change that on its own. Its only a book. But if you read it and follow its guidance, you can help to change the experience for your users. If lots of people read it and follow its guidance, together we might move the needle toward a more consistent and less frustrating web API experience.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «API Design Patterns»

Look at similar books to API Design Patterns. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «API Design Patterns»

Discussion, reviews of the book API Design Patterns and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.