REST API Design Rulebook. Designing Consistent RESTful Web Service Interfaces

- Autor:
- Mark Masse
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 116
- Dostępne formaty:
-
ePubMobi
Opis książki: REST API Design Rulebook. Designing Consistent RESTful Web Service Interfaces
In today’s market, where rival web services compete for attention, a well-designed REST API is a must-have feature. This concise book presents a set of API design rules, drawn primarily from best practices that stick close to the Web’s REST architectural style. Along with rules for URI design and HTTP use, you’ll learn guidelines for media types and representational forms.
REST APIs are ubiquitous, but few of them follow a consistent design methodology. Using these simple rules, you will design web service APIs that adhere to recognized web standards. To assist you, author Mark Massé introduces the Web Resource Modeling Language (WRML), a conceptual framework he created for the design and implementation of REST APIs.
- Learn design rules for addressing resources with URIs
- Apply design principles to HTTP’s request methods and response status codes
- Work with guidelines for conveying metadata through HTTP headers and media types
- Get design tips to address the needs of client programs, including the special needs of browser-based JavaScript clients
- Understand why REST APIs should be designed and configured, not coded
Wybrane bestsellery
-
W tej książce omówiono techniki wdrażania systemów na platformie AWS i zasady zarządzania nimi. Zaprezentowano podstawy korzystania z usługi Identity and Access Management oraz narzędzia sieciowe i monitorujące chmury AWS. Poruszono tematy Virtual Private Cloud, Elastic Compute Cloud, równoważeni...
AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych AWS dla administratorów systemów. Tworzenie i utrzymywanie niezawodnych aplikacji chmurowych
(0,00 zł najniższa cena z 30 dni)47.40 zł
79.00 zł(-40%) -
Ta książka jest jedenastym wydaniem wyczerpującego kompendium programisty Javy, w pełni zaktualizowanym, uzupełnionym o nowości wprowadzone w Java SE 11. Opisuje język kompleksowo: jego składnię, słowa kluczowe oraz najistotniejsze zasady programowania. Zawiera także informacje o najważniejszych ...(0,00 zł najniższa cena z 30 dni)
119.40 zł
199.00 zł(-40%) -
Wiesz, czym jest REST API? Skoro rozpoczynasz przygodę z programowaniem albo jej początki masz już za sobą, pewnie wiesz - a przynajmniej znasz te terminy ze słyszenia. Mimo to przypominamy: API, czyli aplikacyjny interfejs programistyczny, to zestaw reguł określających sposób, w jaki urządzenia ...
REST API i Python. Kurs video. Pracuj z API przy użyciu FastAPI, MongoDB i PyTest REST API i Python. Kurs video. Pracuj z API przy użyciu FastAPI, MongoDB i PyTest
(0,00 zł najniższa cena z 30 dni)74.50 zł
149.00 zł(-50%) -
To doskonała książka dla każdego, kto już wstępnie zapoznał się z biblioteką React i chce pisać natywne aplikacje na iOS i Androida. Po przypomnieniu zasad działania React Native i przedstawieniu szeregu wskazówek dotyczących konfiguracji środowiska opisano tu kolejne etapy tworzenia w pełni funk...
React Native. Tworzenie aplikacji mobilnych w języku JavaScript. Wydanie II React Native. Tworzenie aplikacji mobilnych w języku JavaScript. Wydanie II
(0,00 zł najniższa cena z 30 dni)24.99 zł
49.00 zł(-49%) -
Kluczowe zasady projektowania interfejsów API, sposoby zabezpieczania API oraz zarządzania użytkownikami. Ponadto dowiesz się, jak zarządzać ruchem sieciowym, obsługiwać interfejs API oraz mierzyć sukces Twojego API. Na sam koniec zobaczysz, jak zaangażować projektantów w proces adaptacji.(0,00 zł najniższa cena z 30 dni)
19.95 zł
39.90 zł(-50%) -
Szeroka dostępność Internetu przyczyniła się do stopniowego odchodzenia od przechowywania danych lokalnie i na nośnikach fizycznych. Dziś rozwiązania te są wypierane przez zdalną bazę danych ulokowaną na zewnętrznym serwerze — powszechnie znanym jako chmura. Zmienia się nie tylko zapis plik...
AWS Lambda. Kurs video. Poznaj framework serverless w praktyce AWS Lambda. Kurs video. Poznaj framework serverless w praktyce
(0,00 zł najniższa cena z 30 dni)74.50 zł
149.00 zł(-50%) -
Angular to potężne narzędzie służące do budowania różnego rodzaju aplikacji internetowych. Jako technologia frontendowa szczególne wsparcie oferuje osobom przygotowującym interfejsy użytkownika. Tym bardziej że poszczególne komponenty tej platformy naprawdę ułatwiają pracę - na przykład bibliotek...
Angular 11. Kurs video. Poznaj moc tworzenia aplikacji typu SPA Angular 11. Kurs video. Poznaj moc tworzenia aplikacji typu SPA
(0,00 zł najniższa cena z 30 dni)64.50 zł
129.00 zł(-50%) -
Wprowadzanie na rynek kolejnych, coraz bardziej atrakcyjnych wizualnie gier komputerowych wymusza produkcję wysoko wydajnych kart graficznych. Siłą rzeczy przyspieszają także prace nad rozwojem tzw. graficznych API, umożliwiających komunikację z kartą oraz wykonywanie za jej pomocą działań matema...
OpenGL. Kurs video. Wprowadzenie do programowania grafiki komputerowej OpenGL. Kurs video. Wprowadzenie do programowania grafiki komputerowej
(0,00 zł najniższa cena z 30 dni)53.55 zł
119.00 zł(-55%) -
Ta książka jest przeznaczona dla programistów, którzy chcą możliwie szybko zacząć budować poprawne aplikacje w Angularze i bezproblemowo uruchamiać je w środowisku produkcyjnym. Podręcznik został napisany w sposób, który pozwala na natychmiastowe rozpoczęcie kodowania i zrozumienie — niemal...(0,00 zł najniższa cena z 30 dni)
30.09 zł
59.00 zł(-49%) -
Opis największych zalet usług typu RESTful oraz sposobów ich implementacji we własnych aplikacjach. Na podstawie porównania API takich platform, jak Facebook, Twitter, GitHub i PayPal dowiesz się, jakie są możliwości usług typu RESTful oraz poznasz wiele rozmaitych technik i metod programowania.(0,00 zł najniższa cena z 30 dni)
17.45 zł
34.90 zł(-50%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-493-1990-8, 9781449319908
- Data wydania ebooka:
-
2011-10-18
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.5MB
- Rozmiar pliku Mobi:
- 3.6MB
- Kategorie:
Technologie webowe
Technologie webowe » API
Spis treści książki
- REST API Design Rulebook
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Greetings Program!
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Tim Berners-Lee
- Roy Fielding
- Leonard Richardson
- OReilly Media, Inc.
- Technical Reviewers
- Colleagues
- The REST Community
- Stuart Rackham
- Personal
- 1. Introduction
- Hello World Wide Web
- Web Architecture
- ClientServer
- Uniform Interface
- Identification of resources
- Manipulation of resources through representations
- Self-descriptive messages
- Hypermedia as the engine of application state (HATEOAS)
- Layered System
- Cache
- Stateless
- Code-On-Demand
- Web Standards
- REST
- REST APIs
- REST API Design
- Rules
- WRML
- Recap
- 2. Identifier Design with URIs
- URIs
- URI Format
- Rule: Forward slash separator (/) must be used to indicate a hierarchical relationship
- Rule: A trailing forward slash (/) should not be included in URIs
- Rule: Hyphens (-) should be used to improve the readability of URIs
- Rule: Underscores (_) should not be used in URIs
- Rule: Lowercase letters should be preferred in URI paths
- Rule: File extensions should not be included in URIs
- URI Authority Design
- Rule: Consistent subdomain names should be used for your APIs
- Rule: Consistent subdomain names should be used for your client developer portal
- Resource Modeling
- Resource Archetypes
- Document
- Collection
- Store
- Controller
- URI Path Design
- Rule: A singular noun should be used for document names
- Rule: A plural noun should be used for collection names
- Rule: A plural noun should be used for store names
- Rule: A verb or verb phrase should be used for controller names
- Rule: Variable path segments may be substituted with identity-based values
- Rule: CRUD function names should not be used in URIs
- URI Query Design
- Rule: The query component of a URI may be used to filter collections or stores
- Rule: The query component of a URI should be used to paginate collection or store results
- Recap
- 3. Interaction Design with HTTP
- HTTP/1.1
- Request Methods
- Rule: GET and POST must not be used to tunnel other request methods
- Rule: GET must be used to retrieve a representation of a resource
- Rule: HEAD should be used to retrieve response headers
- Rule: PUT must be used to both insert and update a stored resource
- Rule: PUT must be used to update mutable resources
- Rule: POST must be used to create a new resource in a collection
- Rule: POST must be used to execute controllers
- Rule: DELETE must be used to remove a resource from its parent
- Rule: OPTIONS should be used to retrieve metadata that describes a resources available interactions
- Response Status Codes
- Rule: 200 (OK) should be used to indicate nonspecific success
- Rule: 200 (OK) must not be used to communicate errors in the response body
- Rule: 201 (Created) must be used to indicate successful resource creation
- Rule: 202 (Accepted) must be used to indicate successful start of an asynchronous action
- Rule: 204 (No Content) should be used when the response body is intentionally empty
- Rule: 301 (Moved Permanently) should be used to relocate resources
- Rule: 302 (Found) should not be used
- Rule: 303 (See Other) should be used to refer the client to a different URI
- Rule: 304 (Not Modified) should be used to preserve bandwidth
- Rule: 307 (Temporary Redirect) should be used to tell clients to resubmit the request to another URI
- Rule: 400 (Bad Request) may be used to indicate nonspecific failure
- Rule: 401 (Unauthorized) must be used when there is a problem with the clients credentials
- Rule: 403 (Forbidden) should be used to forbid access regardless of authorization state
- Rule: 404 (Not Found) must be used when a clients URI cannot be mapped to a resource
- Rule: 405 (Method Not Allowed) must be used when the HTTP method is not supported
- Rule: 406 (Not Acceptable) must be used when the requested media type cannot be served
- Rule: 409 (Conflict) should be used to indicate a violation of resource state
- Rule: 412 (Precondition Failed) should be used to support conditional operations
- Rule: 415 (Unsupported Media Type) must be used when the media type of a requests payload cannot be processed
- Rule: 500 (Internal Server Error) should be used to indicate API malfunction
- Recap
- 4. Metadata Design
- HTTP Headers
- Rule: Content-Type must be used
- Rule: Content-Length should be used
- Rule: Last-Modified should be used in responses
- Rule: ETag should be used in responses
- Rule: Stores must support conditional PUT requests
- Rule: Location must be used to specify the URI of a newly created resource
- Rule: Cache-Control, Expires, and Date response headers should be used to encourage caching
- Rule: Cache-Control, Expires, and Pragma response headers may be used to discourage caching
- Rule: Caching should be encouraged
- Rule: Expiration caching headers should be used with 200 (OK) responses
- Rule: Expiration caching headers may optionally be used with 3xx and 4xx responses
- Rule: Custom HTTP headers must not be used to change the behavior of HTTP methods
- HTTP Headers
- Media Types
- Media Type Syntax
- Registered Media Types
- Vendor-Specific Media Types
- Media Type Design
- Rule: Application-specific media types should be used
- Media Type Format Design
- Media Type Schema Design
- Media Type Schema Versioning
- Rule: Application-specific media types should be used
- Rule: Media type negotiation should be supported when multiple representations are available
- Rule: Media type selection using a query parameter may be supported
- Recap
- 5. Representation Design
- Message Body Format
- Rule: JSON should be supported for resource representation
- Rule: JSON must be well-formed
- Rule: XML and other formats may optionally be used for resource representation
- Rule: Additional envelopes must not be created
- Message Body Format
- Hypermedia Representation
- Rule: A consistent form should be used to represent links
- Rule: A consistent form should be used to represent link relations
- Rule: A consistent form should be used to advertise links
- Rule: A self link should be included in response message body representations
- Rule: Minimize the number of advertised entry point API URIs
- Rule: Links should be used to advertise a resources available actions in a state-sensitive manner
- Media Type Representation
- Rule: A consistent form should be used to represent media type formats
- Rule: A consistent form should be used to represent media type schemas
- Schema Representation
- Field Representation
- Constraint Representation
- Link Formula Representation
- Document Schema Representation
- Container Schema Representation
- Collection Schema Representation
- Store Schema Representation
- Error Representation
- Rule: A consistent form should be used to represent errors
- Rule: A consistent form should be used to represent error responses
- Rule: Consistent error types should be used for common error conditions
- Recap
- 6. Client Concerns
- Introduction
- Versioning
- Rule: New URIs should be used to introduce new concepts
- Rule: Schemas should be used to manage representational form versions
- Rule: Entity tags should be used to manage representational state versions
- Security
- Rule: OAuth may be used to protect resources
- Rule: API management solutions may be used to protect resources
- Response Representation Composition
- Rule: The query component of a URI should be used to support partial responses
- Rule: The query component of a URI should be used to embed linked resources
- Processing Hypermedia
- JavaScript Clients
- Rule: JSONP should be supported to provide multi-origin read access from JavaScript
- Rule: CORS should be supported to provide multi-origin read/write access from JavaScript
- Recap
- 7. Final Thoughts
- State of the Art
- Uniform Implementation
- Principle: REST API designs differ more than necessary
- Principle: A REST API should be designed, not coded
- Principle: Programmers and their organizations benefit from consistency
- Principle: A REST API should be created using a GUI tool
- Recap
- A. My First REST API
- About the Author
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
If you're a PHP developer looking for proven solutions to common problems, this cookbook provides code recipes to help you resolve numerous scenarios. By leveraging modern versions of PHP through version 8.1, these self-contained recipes provide fully realized solutions that can help you solve si...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
Over the past 10 years, data analytics and data visualization have become essential components of an enterprise information strategy. And yet, the adoption of data analytics has remained remarkably static, reaching no more than 30% of potential users. This book explores the most important techniq...(0,00 zł najniższa cena z 30 dni)
194.65 zł
229.00 zł(-15%) -
Data lakes and warehouses have become increasingly fragile, costly, and difficult to maintain as data gets bigger and moves faster. Data meshes can help your organization decentralize data, giving ownership back to the engineers who produced it. This book provides a concise yet comprehensive over...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
If you're planning, building, or implementing a cloud strategy that supports digitalization for your financial services business, this invaluable guide clearly sets out the crucial factors and questions to consider first. With it, you'll learn how to avoid the costly and time-consuming pitfalls a...
Digitalization of Financial Services in the Age of Cloud Digitalization of Financial Services in the Age of Cloud
(0,00 zł najniższa cena z 30 dni)152.15 zł
179.00 zł(-15%) -
Java developers usually tackle the complexity of software development through object-oriented programming (OOP). But not every problem is a good match for OOP. The functional programming (FP) paradigm offers you another approach to solving problems, and Java provides easy-to-grasp FP tools such a...(0,00 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
As legacy and other critical systems continue to migrate online, the need for continuous operation is imperative. Code has to handle data issues as well as hard external problems today, including outages of networks, storage systems, power, and ancillary systems. This practical guide provides sys...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Do you want to write beautiful, structured, and maintainable JavaScript by applying modern design patterns to the language? Do you want clean, efficient, manageable code? Want to stay up-to-date with the latest best practices? If so, the updated second edition of Learning JavaScript Design Patter...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
Between major privacy regulations like the GDPR and CCPA and expensive and notorious data breaches, there has never been so much pressure to ensure data privacy. Unfortunately, integrating privacy into data systems is still complicated. This essential guide will give you a fundamental understandi...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%) -
This essential guide covers all aspects of Linux system administration, from user maintenance, backups, filesystem housekeeping, storage management, and network setup to hardware and software troubleshooting and some application management. It's both a practical daily reference manual for sysadmi...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
The past decade has witnessed the broad adoption of artificial intelligence and machine learning (AI/ML) technologies. However, a lack of oversight in their widespread implementation has resulted in some incidents and harmful outcomes that could have been avoided with proper risk management. Befo...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: REST API Design Rulebook. Designing Consistent RESTful Web Service Interfaces Mark Masse (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.