Hands-On RESTful API Design Patterns and Best Practices: Design, develop, and deploy highly adaptable, scalable, and secure RESTful web APIs

Harihara Subramanian, Pethuru Raj

  • 出版商: Packt Publishing
  • 出版日期: 2019-01-31
  • 售價: $1,760
  • 貴賓價: 9.5$1,672
  • 語言: 英文
  • 頁數: 378
  • 裝訂: Paperback
  • ISBN: 1788992660
  • ISBN-13: 9781788992664
  • 相關分類: Web APIJVM 語言Design Pattern
  • 海外代購書籍(需單獨結帳)
    無現貨庫存(No stock available)



Build effective RESTful APIs for enterprise with design patterns and REST framework's out-of-the-box capabilities

Key Features

  • Understand advanced topics such as API gateways, API securities, and cloud
  • Implement patterns programmatically with easy-to-follow examples
  • Modernize legacy codebase using API connectors, layers, and microservices

Book Description

This book deals with the Representational State Transfer (REST) paradigm, which is an architectural style that allows networked devices to communicate with each other over the internet. With the help of this book, you'll explore the concepts of service-oriented architecture (SOA), event-driven architecture (EDA), and resource-oriented architecture (ROA). This book covers why there is an insistence for high-quality APIs toward enterprise integration.

It also covers how to optimize and explore endpoints for microservices with API gateways and touches upon integrated platforms and Hubs for RESTful APIs. You'll also understand how application delivery and deployments can be simplified and streamlined in the REST world. The book will help you dig deeper into the distinct contributions of RESTful services for IoT analytics and applications.

Besides detailing the API design and development aspects, this book will assist you in designing and developing production-ready, testable, sustainable, and enterprise-grade APIs. By the end of the book, you'll be empowered with all that you need to create highly flexible APIs for next-generation RESTful services and applications.

What you will learn

  • Explore RESTful concepts, including URI, HATEOAS, and Code on Demand
  • Study core patterns like Statelessness, Pagination, and Discoverability
  • Optimize endpoints for linked microservices with API gateways
  • Delve into API authentication, authorization, and API security implementations
  • Work with Service Orchestration to craft composite and process-aware services
  • Expose RESTful protocol-based APIs for cloud computing

Who this book is for

This book is primarily for web, mobile, and cloud services developers, architects, and consultants who want to build well-designed APIs for creating and sustaining enterprise-class applications. You'll also benefit from this book if you want to understand the finer details of RESTful APIs and their design techniques along with some tricks and tips.

Table of Contents

  1. Introduction to the Basics of RESTful Architecture
  2. Design Strategy, Guidelines, and Best Practices
  3. Essential RESTful API Patterns
  4. Advanced RESTful API Patterns
  5. Microservice API Gateways
  6. RESTful Services API Testing and Security
  7. RESTful Service Composition for Smart Applications
  8. RESTful API Design Tips
  9. A More In-depth View of the RESTful Services Paradigm
  10. Frameworks, Standard Languages, and Toolkits
  11. Legacy Modernization to Microservices-centric Apps


使用設計模式和 REST 框架的內建功能,建立有效的企業 RESTful API

- 瞭解進階主題,如 API 閘道、API 安全性和雲端
- 以易於理解的範例程式碼實作設計模式
- 使用 API 連接器、層和微服務現代化遺留程式碼庫

本書探討了表現狀態轉換(REST)範式,這是一種允許網絡設備在互聯網上相互通信的架構風格。通過本書的幫助,您將探索服務導向架構(SOA)、事件驅動架構(EDA)和資源導向架構(ROA)的概念。本書涵蓋了為企業整合而對高質量 API 的堅持原因。

本書還介紹了如何使用 API 閘道優化和探索微服務的端點,並觸及整合平台和 RESTful API 的中樞。您還將瞭解如何在 REST 世界中簡化和優化應用程式交付和部署。本書將幫助您更深入地瞭解 RESTful 服務對物聯網分析和應用的獨特貢獻。

除了詳細介紹 API 設計和開發方面,本書還將協助您設計和開發可投入生產、可測試、可持續和企業級的 API。通過本書,您將掌握創建下一代 RESTful 服務和應用程式所需的一切。

- 探索 RESTful 概念,包括 URI、HATEOAS 和 Code on Demand
- 學習核心模式,如無狀態、分頁和可發現性
- 使用 API 閘道優化連接的微服務端點
- 深入研究 API 認證、授權和安全實現
- 使用服務編排創建組合和流程感知服務
- 為雲端運算公開基於 RESTful 協議的 API

本書主要針對網頁、行動和雲端服務開發人員、架構師和顧問,他們希望為創建和維護企業級應用程式建立設計良好的 API。如果您想瞭解 RESTful API 的細節和設計技巧,以及一些技巧和提示,本書也將對您有所幫助。

1. RESTful 架構基礎介紹
2. 設計策略、指南和最佳實踐
3. 基本 RESTful API 模式
4. 進階 RESTful API 模式
5. 微服務 API 閘道
6. RESTful 服務 API 測試和安全性
7. 智能應用程式的 RESTful 服務組合
8. RESTful API 設計技巧
9. 更深入瞭解 RESTful 服務範式
10. 框架、標準語言和工具包
11. 從遺留程式碼現代化到以微服務為中心的應用程式