RESTful Web Clients. Enabling Reuse Through Hypermedia

- Autor:
- Mike Amundsen
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 350
- Dostępne formaty:
-
ePubMobi
Opis książki: RESTful Web Clients. Enabling Reuse Through Hypermedia
Powerful web-based REST and hypermedia-style APIs are becoming more common every day, but instead of applying the same techniques and patterns to hypermedia clients, many developers rely on custom client code. With this practical guide, you’ll learn how to move from one-off implementations to general-purpose client apps that are stable, flexible, and reusable.
Author Mike Amundsen provides extensive background, easy-to-follow examples, illustrative dialogues, and clear recommendations for building effective hypermedia-based client applications. Along the way, you’ll learn how to harness many of the basic principles that underpin the Web.
- Convert HTML-only web apps into a JSON API service
- Overcome the challenges of maintaining plain JSON-style client apps
- Decouple the output format from the internal object model with the representor pattern
- Explore client apps built with HAL—Hypertext Application Language
- Tackle reusable clients with the Request, Parse, Wait Loop (RPW) pattern
- Learn the pros and cons of building client apps with the Siren content type
- Deal with API versioning by adopting a change-over-time aesthetic
- Compare how JSON, HAL, Siren, and Collection+JSON clients handle the Objects/Addresses/Actions Challenge
- Craft a single client application that can consume multiple services
Wybrane bestsellery
-
Many organizations today orchestrate and maintain apps that rely on other people's services. Software designers, developers, and architects in those companies often work to coordinate and maintain apps based on existing microservices, including third-party services that run outside their ecosyste...(0,00 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
The popularity of REST in recent years has led to tremendous growth in almost-RESTful APIs that don’t include many of the architecture’s benefits. With this practical guide, you’ll learn what it takes to design usable REST APIs that evolve over time. By focusing on solutions tha...(0,00 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
With this concise book, you’ll learn the art of building hypermedia APIs that don’t simply run on the Web, but that actually exist in the Web. You’ll start with the general principles and technologies behind this architectural approach, and then dive hands-on into three fully-fu...
Building Hypermedia APIs with HTML5 and Node. Creating Evolvable Hypermedia Applications Building Hypermedia APIs with HTML5 and Node. Creating Evolvable Hypermedia Applications
(0,00 zł najniższa cena z 30 dni)59.42 zł
69.90 zł(-15%) -
O tym, ile problemów sprawia niedbale napisany kod, wie każdy programista. Nie wszyscy jednak wiedzą, jak napisać ten świetny, „czysty” kod i czym właściwie powinien się on charakteryzować. Co więcej – jak odróżnić dobry kod od złego? Odpowiedź na te pytania oraz sposoby tworzen...(0,00 zł najniższa cena z 30 dni)
47.40 zł
79.00 zł(-40%) -
Branża IT kusi licznymi ofertami pracy, atrakcyjnymi zarobkami i ciekawymi ścieżkami rozwoju nie tylko zawodowych programistów, lecz również osoby bez wykształcenia informatycznego czy doświadczenia w tej dziedzinie. Te ostatnie zwykle zaczynają karierę od roli testera aplikacji. Jednym z podstaw...(0,00 zł najniższa cena z 30 dni)
53.40 zł
89.00 zł(-40%) -
Dave Thomas i Andy Hunt napisali pierwsze wydanie tej wpływowej książki w 1999 roku, aby pomóc swoim klientom tworzyć lepsze oprogramowanie i na nowo odnaleźć radość z kodowania. Nauki płynące z tamtego wydania pomogły wielu pokoleniom programistów zbadać istotę rozwoju oprogramowania, niezależni...
Pragmatyczny programista. Od czeladnika do mistrza. Wydanie II Pragmatyczny programista. Od czeladnika do mistrza. Wydanie II
(0,00 zł najniższa cena z 30 dni)46.20 zł
77.00 zł(-40%) -
Mistrz czystego kodu. Kodeks postępowania profesjonalnych programistów Podręcznik profesjonalnego programisty! Robert C. Martin, znany jako Uncle Bob, to jeden z prawdziwych gwiazdorów branży IT, człowiek o niezwykłej charyzmie, rewelacyjnym podejściu do słuchaczy i poczuciu h...
Mistrz czystego kodu. Kodeks postępowania profesjonalnych programistów Mistrz czystego kodu. Kodeks postępowania profesjonalnych programistów
(0,00 zł najniższa cena z 30 dni)29.40 zł
49.00 zł(-40%) -
W tej książce w sposób jasny i bardzo interesujący przedstawiono uniwersalne zasady architektury oprogramowania wraz z szeregiem wskazówek dotyczących stosowania tych reguł w praktyce. Wyczerpująco zaprezentowano tu dostępne rozwiązania i wyjaśniono, dlaczego są one tak istotne dla sukcesu przeds...
Czysta architektura. Struktura i design oprogramowania. Przewodnik dla profesjonalistów Czysta architektura. Struktura i design oprogramowania. Przewodnik dla profesjonalistów
(0,00 zł najniższa cena z 30 dni)53.40 zł
89.00 zł(-40%) -
To kolejne wydanie lubianego samouczka, dzięki któremu w ramach 24 godzinnych lekcji przyswoisz solidne podstawy programowania. Zrozumiesz, jak działają programy, i nauczysz się reguł stosowanych przez profesjonalistów przy ich projektowaniu. Dowiesz się, jak wygląda świat programistów i na czym ...
Programowanie dla początkujących w 24 godziny. Wydanie IV Programowanie dla początkujących w 24 godziny. Wydanie IV
(0,00 zł najniższa cena z 30 dni)34.50 zł
69.00 zł(-50%) -
Trzech poważanych architektów oprogramowania omawia cały cykl życia, prezentując praktyczne wskazówki, metody stosowane przez ekspertów i sprawdzone modele przydatne w każdym projekcie niezależnie od poziomu jego złożoności. Dowiesz się, jak za pomocą architektury radzić sobie z coraz większymi w...
Architektura oprogramowania w praktyce. Wydanie IV Architektura oprogramowania w praktyce. Wydanie IV
(0,00 zł najniższa cena z 30 dni)59.40 zł
99.00 zł(-40%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook 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 dowolonych 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 dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-919-2185-2, 9781491921852
- Data wydania ebooka:
-
2017-02-13
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:
- 9.6MB
- Rozmiar pliku Mobi:
- 20.7MB
- Kategorie:
Programowanie » Techniki programowania
Technologie webowe » Web Design
Spis treści książki
- Foreword
- Preface
- Whats in This Book
- The Chapters
- The Dialogues
- The Artwork
- Whats in This Book
- Whats Not in This Book
- User Interface Design
- Basics of Hypermedia
- Programming with HTML, CSS, and JavaScript
- Source Code
- External References
- Conventions Used in This Book
- OReilly Safari
- How to Contact Us
- Acknowledgments
- Prologue: Well, That Was a Fun Trip, Eh?
- References
- Bob, Carol, and BigCo, Inc.
- Credits
- 1. Our HTML Roots and Simple Web APIs
- The Task Processing System (TPS) Web App
- HTML from the Server
- Common Web Browser as the Client
- Observations
- The Task Processing System (TPS) Web App
- The Task Services Web API
- Web API Common Practice
- Designing the TPS Web API
- Documenting data-passing
- Serialized JSON objects
- Implementing the TPS Web API
- Defaulting to JSON responses
- Updating the TPS web API operations
- Testing the TPS web API with cURL
- Observations
- Summary
- References
- 2. JSON Clients
- The JSON Web API Client
- Objects
- Recognizing objects
- Displaying data
- Objects
- Addresses
- Actions
- Quick Summary
- The JSON Web API Client
- The JSON SPA Client
- The HTML Container
- The Top-Level Parse Loop
- Objects, Addresses, and Actions
- TPS objects
- Addresses and actions
- Quick summary
- Dealing with Change
- Adding a Field and Filter
- Changing the TPS web API
- Testing the Updated TPS web API
- Testing the JSON API client
- Adding a Field and Filter
- Coding a New Client
- Summary
- References
- 3. The Representor Pattern
- XML or JSON: Pick a Side!
- The New Crop of Hypermedia Formats
- Atom Syndication and Publishing
- Other hypermedia formats
- The New Crop of Hypermedia Formats
- The Fallacy of The Right One
- Reframing the Problem
- Why is supporting one format better?
- What would it take to support multiple formats?
- XML or JSON: Pick a Side!
- The Representor Pattern
- Separating Format from Functionality
- The Selection Algorithm
- Adapting and Translating
- The Adapter pattern
- The Message Translator pattern
- A Server-Side Model
- Handling the HTTP Accept Header
- Implementing the Message Translator Pattern
- General Representor Modules
- The WeSTL Format
- Runtime WeSTL
- A Sample Representor
- Summary
- References
- Image credits
- 4. HAL Clients
- The HAL Format
- Links
- Objects and Properties
- Embedded Links and Objects
- Quick Summary
- The HAL Format
- The HAL Representor
- Links
- Properties
- Embedded
- Sample TPS Output from the HAL Representor
- The HAL SPA Client
- The HTML Container
- The Top-Level Parse Loop
- Links
- Embedded
- Properties
- Handling Actions for HAL
- Quick Summary
- Dealing with Change
- Adding an Action
- Updating the docs
- Updating the TPS web API
- The failing HAL client
- Recoding the Action definition on the HAL client
- Adding an Action
- The HAL-FORMS Extension
- The Specification
- A HAL-FORMS document
- Requesting HAL-FORMS documents
- The Specification
- The Implementation
- Summary
- References
- Image Credits
- 5. The Challenge of Reusable Client Apps
- What Problem Are You Solving?
- Double Diamond Model of Design
- Closed Solution Versus Open Solution
- What Problem Are You Solving?
- Modeling Interaction
- Maldonados Mechanisms
- Verplanks Humans
- A Hypermedia Interaction Loop
- The Request, Parse, Wait Loop
- Implementing RPW in Code
- Handling Verplanks KNOW Step
- Summary
- References
- Image Credits
- 6. Siren Clients
- The Siren Format
- Entities
- Class
- Properties
- Links
- Actions
- SubEntities
- Quick Summary
- The Siren Format
- The Siren Representor
- The Top-Level Loop
- Class
- Properties
- Entities
- Actions
- Links
- Sample TPS Output from the Siren Representor
- The Siren SPA Client
- The HTML Container
- The Top-Level Parse Loop
- Links
- Entities
- Properties
- Actions
- Quick Summary
- Dealing with Change
- Adding the Email Field and Filter
- Testing the Email Field
- The Profile Object Description (POD) Extension
- The POD Specification
- The Siren Profile Object Display (POD) document
- Retrieving POD documents
- The POD Specification
- The Implementation
- Displaying Objects in Siren Using POD
- Quick Summary
- Summary
- References
- Image Credits
- 7. Versioning and the Web
- Versioning for the Internet
- TCP/IPs Robustness Principle
- HTTPs Must Ignore
- HTMLs Backward Compatibility
- Versioning for the Internet
- Guidelines for Non-Breaking Changes
- API Designers
- Promise media types, not objects
- Document link identifiers, not URLs
- Publish vocabularies, not models
- API Designers
- Server Implementors
- Dont take things away
- Dont change the meaning of things
- All new things are optional
- Client Implementors
- Code defensively
- Code to the media type
- Leverage the API vocabulary
- React to link relations for workflow
- Summary
- References
- 8. Collection+JSON Clients
- The Collection+JSON Format
- Links
- Items
- Queries
- Template
- Using Cj templates to create new resources
- Using Cj templates to update an existing resource
- Error
- A Quick Summary
- The Collection+JSON Format
- The Collection+JSON Representor
- The Top-Level Processing Loop
- Links
- Items
- Queries
- Template
- Error
- The Collection+JSON SPA Client
- The HTML Container
- The Top-Level Parse Loop
- Links
- Items
- Queries
- Template
- Error
- Quick Summary
- Dealing with Change
- Adding the Note Object to the TPS API
- The note API design
- The note API service implementation
- Testing the note API with the existing Cj client
- Adding the Note Object to the TPS API
- Cj and the OAA Challenge
- Quick Summary
- Extending Collection+JSON
- Supporting Improved Input with Cj-Types
- Extending Cj with cj-types
- Updating the representor
- Updating the Cj client library
- Supporting Improved Input with Cj-Types
- The Cj-Suggest Extension
- Extending Cj with cj-suggest
- Updating the Cj representor
- Updating the Cj client library
- Quick Summary
- Summary
- References
- Image Credits
- 9. Hypermedia and Microservices
- The Unix Philosophy
- The TPS Microservices at BigCo
- The Tasks Service with Collection+JSON
- The User Service with Siren
- The Notes Service with HAL
- One Client to Rule Them All
- The Home Service
- The Multiformat Client SPA Container
- The Format-Switching Client UI
- The Cj Render Library
- The Siren render library
- The HAL render library
- Summary
- References
- Epilogue: Welcome to Your Future
- A. Project List
- Chapter 1, Our HTML Roots and Simple Web APIs
- Chapter 2, JSON Clients
- Chapter 3, The Representor Pattern
- Chapter 4, HAL Clients
- Chapter 5, The Challenge of Reusable Client Apps
- Chapter 6, Siren Clients
- Chapter 7, Versioning and the Web
- Chapter 8, Collection+JSON Clients
- Chapter 9, Hypermedia and Microservices
- B. Tools and Resources
- Hardware
- Software
- Libraries
- Services
- Index
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)271.15 zł
319.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
271.15 zł
319.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
228.65 zł
269.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: RESTful Web Clients. Enabling Reuse Through Hypermedia Mike Amundsen (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.