Cargando…

Hands-on RESTful web API design patterns and best practices : design, develop, and deploy highly adaptable, scalable, and secure RESTful web APIs /

REST architecture (style) is a pivot of distributed systems, simplify data integration amongst modern and legacy applications leverages through the RESTful paradigm. This book is fully loaded with many RESTful API patterns, samples, hands-on implementations and also discuss the capabilities of many...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Subramanian, Harihara (Autor), Raj, Pethuru (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2019.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Introduction to the Basics of RESTful Architecture; Technical requirements; Evolution of web technologies; Learning about Web 3.0; Learning about web service architecture; Discussing the web API; Learning about service-oriented architecture; Learning about resource-oriented architecture; Resource-oriented design; The benefits of ROA; Beginning with REST; REST architecture style constraints; Beginning with client-server; The client in client-server architecture
  • The service in client-server architectureUnderstanding statelessness; Advantages and disadvantages of statelessness; Caching constraint in REST; Benefits of caching; Understanding the uniform interface; Identification of resources; Manipulation of resources; Self-descriptive messages; Hypermedia as the Engine of Application State; Layered systems; Code on demand; RESTful service mandates; Architectural goals of REST; Summary; Chapter 2: Design Strategy, Guidelines, and Best Practices; Technical requirements; Learning about REST API and its importance; Goals of RESTful API design; Affordance
  • Loosely coupledLeverage web architecture; API designer roles and responsibilities ; API design best practices; API design principles; Ubiquitous web standards; Flexibility; Granularity; Optimized APIs; Functionality; Learning about unusual circumstances; Community standardization; API playgrounds; RESTful API design rules; Learning about Uniform Resource Identifiers; URI formats; REST API URI authority; Resource modelling; Resource archetypes; URI path; URI query; HTTP interactions; Request methods; Response status codes; Metadata design; HTTP headers; Media types and media type design rules
  • RepresentationsMessage body format; Hypermedia representation; Media type representation; Errors representation; Client concerns; Versioning; Security; Response representation composition; Processing hypermedia; JavaScript clients; Summary; Further reading; Chapter 3: Essential RESTful API Patterns; Technical requirements; Beginning with the installations; Beginning with RESTful API patterns
  • part I; Statelessness; Content negotiation; Content negotiation with HTTP headers; URI templates; Design for intent; Pagination; Discoverability; Error and exception logging; Unicode; Summary
  • Chapter 4: Advanced RESTful API PatternsTechnical requirements; RESTful API advanced patterns; Versioning; Versioning through the URI path; Versioning through query parameters; Versioning through custom headers; Versioning through content-negotiation; Authorization; Authorization with the default key; Authorization with credentials; Uniform contract; Entity endpoints; Endpoint redirection; Idempotent; Bulk operation; Circuit breaker; Combining the circuit pattern and the retry pattern; API facade; Backend for frontend; Summary; Further reading; Chapter 5: Microservice API Gateways