Building Distributed Applications in Gin: A hands-on guide for Go developers to build and deploy distributed web apps with the Gin framework (Paperback)
暫譯: 使用 Gin 建立分散式應用程式:Go 開發者的實作指南,構建與部署分散式網頁應用程式
Labouardy, Mohamed
- 出版商: Packt Publishing
- 出版日期: 2021-07-23
- 售價: $1,830
- 貴賓價: 9.5 折 $1,739
- 語言: 英文
- 頁數: 482
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1801074852
- ISBN-13: 9781801074858
-
相關分類:
Go 程式語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$520$442 -
$2,200$2,090 -
$780$616 -
$380$300 -
$500$350 -
$668Figma UI 設計技法與思維全解析
-
$600$468 -
$620$484 -
$1,800$1,710 -
$480$379 -
$450$356 -
$580$458 -
$600$300 -
$1,200$948 -
$780$616 -
$800$632 -
$720$562 -
$1,650$1,568 -
$600$468 -
$620$310 -
$780$608 -
$680$340 -
$1,014$963 -
$680$537 -
$680$530
相關主題
商品描述
Key Features
- Explore the commonly used functionalities of Gin to build web applications
- Become well-versed with rendering HTML templates with the Gin engine
- Solve commonly occurring challenges such as scaling, caching, and deployment
Book Description
Gin is a high-performance HTTP web framework used to build web applications and microservices in Go. This book is designed to teach you the ins and outs of the Gin framework with the help of practical examples.
You'll start by exploring the basics of the Gin framework, before progressing to build a real-world RESTful API. Along the way, you'll learn how to write custom middleware and understand the routing mechanism, as well as how to bind user data and validate incoming HTTP requests. The book also demonstrates how to store and retrieve data at scale with a NoSQL database such as MongoDB, and how to implement a caching layer with Redis. Next, you'll understand how to secure and test your API endpoints with authentication protocols such as OAuth 2 and JWT. Later chapters will guide you through rendering HTML templates on the server-side and building a frontend application with the React web framework to consume API responses. Finally, you'll deploy your application on Amazon Web Services (AWS) and learn how to automate the deployment process with a continuous integration/continuous delivery (CI/CD) pipeline.
By the end of this Gin book, you will be able to design, build, and deploy a production-ready distributed application from scratch using the Gin framework.
What you will learn
- Build a production-ready REST API with the Gin framework
- Scale web applications with event-driven architecture
- Use NoSQL databases for data persistence
- Set up authentication middleware with JWT and Auth0
- Deploy a Gin-based RESTful API on AWS with Docker and Kubernetes
- Implement a CI/CD workflow for Gin web apps
Who this book is for
This book is for Go developers who are comfortable with the Go language and seeking to learn REST API design and development with the Gin framework. Beginner-level knowledge of the Go programming language is required to make the most of this book.
商品描述(中文翻譯)
#### 主要特點
- 探索 Gin 的常用功能以構建網頁應用程式
- 熟悉使用 Gin 引擎渲染 HTML 模板
- 解決常見的挑戰,如擴展性、快取和部署
#### 書籍描述
Gin 是一個高效能的 HTTP 網頁框架,用於在 Go 中構建網頁應用程式和微服務。本書旨在通過實用範例教您 Gin 框架的各個方面。
您將從探索 Gin 框架的基本概念開始,然後進一步構建一個實際的 RESTful API。在此過程中,您將學習如何編寫自定義中介軟體,理解路由機制,以及如何綁定用戶數據和驗證傳入的 HTTP 請求。本書還展示了如何使用 NoSQL 數據庫(如 MongoDB)進行大規模的數據存儲和檢索,以及如何使用 Redis 實現快取層。接下來,您將了解如何使用 OAuth 2 和 JWT 等身份驗證協議來保護和測試您的 API 端點。後面的章節將指導您在伺服器端渲染 HTML 模板,並使用 React 網頁框架構建前端應用程式以消費 API 響應。最後,您將在 Amazon Web Services (AWS) 上部署您的應用程式,並學習如何使用持續集成/持續交付 (CI/CD) 管道自動化部署過程。
在本書結束時,您將能夠從零開始設計、構建和部署一個生產就緒的分散式應用程式,使用 Gin 框架。
#### 您將學到的內容
- 使用 Gin 框架構建生產就緒的 REST API
- 使用事件驅動架構擴展網頁應用程式
- 使用 NoSQL 數據庫進行數據持久化
- 使用 JWT 和 Auth0 設置身份驗證中介軟體
- 在 AWS 上使用 Docker 和 Kubernetes 部署基於 Gin 的 RESTful API
- 為 Gin 網頁應用程式實現 CI/CD 工作流程
#### 本書適合誰
本書適合熟悉 Go 語言的 Go 開發者,並希望學習使用 Gin 框架進行 REST API 設計和開發。需要具備初級的 Go 程式語言知識,以便充分利用本書的內容。
作者簡介
Mohamed Labouardy is the CTO and co-founder of Crew, and a DevSecOps evangelist. He is the founder of Komiser, a regular conference speaker, and author of several books around Serverless and Distributed Applications. He is also a contributor to numerous open-source projects such as Jenkins, Docker, and Telegraf.
作者簡介(中文翻譯)
Mohamed Labouardy 是 Crew 的首席技術官及共同創辦人,也是 DevSecOps 的推廣者。他是 Komiser 的創辦人,經常在會議上演講,並著有多本有關無伺服器(Serverless)和分散式應用程式的書籍。他也是多個開源專案的貢獻者,如 Jenkins、Docker 和 Telegraf。
目錄大綱
Table of Contents
- Getting Started with Gin
- Setting up API Endpoints
- Managing Data Persistence with MongoDB
- Building API authentication.
- Serving Static HTML in Gin
- Scaling a Gin application
- Testing Gin HTTP Routes
- Deploying the application on AWS
- Implementing a CI/CD Pipeline
- Capturing Gin application metrics
目錄大綱(中文翻譯)
Table of Contents
- Getting Started with Gin
- Setting up API Endpoints
- Managing Data Persistence with MongoDB
- Building API authentication.
- Serving Static HTML in Gin
- Scaling a Gin application
- Testing Gin HTTP Routes
- Deploying the application on AWS
- Implementing a CI/CD Pipeline
- Capturing Gin application metrics