Hands-On RESTful Web Services with Go, Second Edition
暫譯: 實作 RESTful 網路服務使用 Go,第二版

Yellavula, Naren

  • 出版商: Packt Publishing
  • 出版日期: 2020-02-28
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 404
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838643575
  • ISBN-13: 9781838643577
  • 相關分類: Go 程式語言程式語言JavaScriptWeb API
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Building RESTful web services can be tough as there are countless standards and ways to develop API. In modern architectures such as microservices, RESTful APIs are common in communication, making idiomatic and scalable API development crucial. This book covers basic through to advanced API development concepts and supporting tools.

You’ll start with an introduction to REST API development before moving on to building the essential blocks for working with Go. You’ll explore routers, middleware, and available open source web development solutions in Go to create robust APIs, and understand the application and database layers to build RESTful web services. You’ll learn various data formats like protocol buffers and JSON, and understand how to serve them over HTTP and gRPC. After covering advanced topics such as asynchronous API design and GraphQL for building scalable web services, you’ll discover how microservices can benefit from REST. You’ll also explore packaging artifacts in the form of containers and understand how to set up an ideal deployment ecosystem for web services. Finally, you’ll cover the provisioning of infrastructure using infrastructure as code (IaC) and secure your REST API.

By the end of the book, you’ll have intermediate knowledge of web service development and be able to apply the skills you’ve learned in a practical way.

商品描述(中文翻譯)

建立 RESTful 網路服務可能會很困難,因為有無數的標準和開發 API 的方式。在現代架構如微服務中,RESTful API 在通信中非常普遍,使得符合慣例且可擴展的 API 開發變得至關重要。本書涵蓋了從基本到進階的 API 開發概念及其支援工具。

您將從 REST API 開發的介紹開始,然後進入使用 Go 開發的基本組件。您將探索路由器、中介軟體,以及在 Go 中可用的開源網路開發解決方案,以創建穩健的 API,並理解應用層和資料庫層以建立 RESTful 網路服務。您將學習各種資料格式,如 protocol buffers 和 JSON,並了解如何通過 HTTP 和 gRPC 提供這些資料。在涵蓋進階主題如非同步 API 設計和用於構建可擴展網路服務的 GraphQL 之後,您將發現微服務如何從 REST 中受益。您還將探索以容器形式打包工件,並了解如何為網路服務設置理想的部署生態系統。最後,您將涵蓋使用基礎設施即代碼 (IaC) 來配置基礎設施並保護您的 REST API。

到本書結束時,您將具備中級的網路服務開發知識,並能夠以實際的方式應用您所學的技能。

作者簡介

Naren Yellavula, known in the developer community as Naren Arya, started his programming career in a somewhat surprising manner. He ditched mechanical engineering in favor of computer science after watching The Matrix for the first time. With domain expertise in cloud telephony and e-commerce, Naren has a total of 6 years' professional experience and 10 years of programming experience. His articles on open source have been read over a million times worldwide. Naren has spoken at the PyCon India conference on two occasions. He currently works as a software engineer, building microservices for Tradebyte Software GmbH (a Zalando enterprise). In his spare time, he travels to new places. He also loves reading – nonfiction most of the time, and Victorian and Russian fiction on occasion.

作者簡介(中文翻譯)

Naren Yellavula,在開發者社群中被稱為 Naren Arya,以一種相當意外的方式開始了他的程式設計生涯。在第一次觀看《駭客任務》後,他放棄了機械工程,轉而選擇計算機科學。Naren 在雲端電話和電子商務領域擁有專業知識,擁有總共 6 年的專業經驗和 10 年的程式設計經驗。他關於開源的文章在全球已被閱讀超過一百萬次。Naren 曾在 PyCon India 會議上發表過兩次演講。他目前擔任 Tradebyte Software GmbH(Zalando 企業)的軟體工程師,負責構建微服務。在空閒時間,他喜歡旅行到新地方。他也熱愛閱讀,大多數時候閱讀非小說類書籍,偶爾會閱讀維多利亞時代和俄羅斯小說。

目錄大綱

  1. Getting Started with REST API Development
  2. Handling Routing for our Rest Services
  3. Working with Middleware and RPC
  4. Simplifying RESTful Services with Popular Go Frameworks
  5. Working with MongoDB and Go to Create a REST API
  6. Working with Protocol Buffers and gRPC
  7. Working with PostgreSQL, JSON, and Go
  8. Building a REST API Client in Go
  9. Asynchronous API Design
  10. GraphQL and Go
  11. Scaling our REST API Using Microservices
  12. Containerizing REST Services for Deployment
  13. Deploying REST Services On Amazon Web Services
  14. Handling Authentication for our REST Services

目錄大綱(中文翻譯)


  1. Getting Started with REST API Development

  2. Handling Routing for our Rest Services

  3. Working with Middleware and RPC

  4. Simplifying RESTful Services with Popular Go Frameworks

  5. Working with MongoDB and Go to Create a REST API

  6. Working with Protocol Buffers and gRPC

  7. Working with PostgreSQL, JSON, and Go

  8. Building a REST API Client in Go

  9. Asynchronous API Design

  10. GraphQL and Go

  11. Scaling our REST API Using Microservices

  12. Containerizing REST Services for Deployment

  13. Deploying REST Services On Amazon Web Services

  14. Handling Authentication for our REST Services

最後瀏覽商品 (20)