Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

RESTFUL WEB CLIENTS. ENABLING REUSE THROUGH HYPERMEDIA
Título:
RESTFUL WEB CLIENTS. ENABLING REUSE THROUGH HYPERMEDIA
Subtítulo:
Autor:
AMUNDSEN, M
Editorial:
O´REILLY
Año de edición:
2017
Materia
PROGRAMACION INTERNET
ISBN:
978-1-4919-2190-6
Páginas:
350
47,95 €

 

Sinopsis

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



Chapter 1Our HTML Roots and Simple Web APIs
The Task Processing System (TPS) Web App
The Task Services Web API
Summary
References
Chapter 2JSON Clients
The JSON Web API Client
The JSON SPA Client
Dealing with Change
Coding a New Client
Summary
References
Chapter 3The Representor Pattern
XML or JSON: Pick a Side!
The Representor Pattern
A Server-Side Model
Summary
References
Chapter 4HAL Clients
The HAL Format
The HAL Representor
The HAL SPA Client
Dealing with Change
The HAL-FORMS Extension
Summary
References
Chapter 5The Challenge of Reusable Client Apps
What Problem Are You Solving?
Modeling Interaction
A Hypermedia Interaction Loop
Summary
References
Chapter 6Siren Clients
The Siren Format
The Siren Representor
The Siren SPA Client
Dealing with Change
The Profile Object Description (POD) Extension
Summary
References
Chapter 7Versioning and the Web
Versioning for the Internet
Guidelines for Non-Breaking Changes
Summary
References
Chapter 8Collection+JSON Clients
The Collection+JSON Format
The Collection+JSON Representor
The Collection+JSON SPA Client
Dealing with Change
Extending Collection+JSON
Summary
References
Chapter 9Hypermedia and Microservices
The Unix Philosophy
The TPS Microservices at BigCo
One Client to Rule Them All
Summary
References
Appendix 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
Appendix Tools and Resources
Hardware
Software
Libraries
Services