Go Web Programming (Paperback)

Sau Sheong Chang

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

相關主題

商品描述

Summary

Go Web Programming teaches you how to build scalable, high-performance web applications in Go using modern design principles.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

The Go language handles the demands of scalable, high-performance web applications by providing clean and fast compiled code, garbage collection, a simple concurrency model, and a fantastic standard library. It's perfect for writing microservices or building scalable, maintainable systems.

About the Book

Go Web Programming teaches you how to build web applications in Go using modern design principles. You'll learn how to implement the dependency injection design pattern for writing test doubles, use concurrency in web applications, and create and consume JSON and XML in web services. Along the way, you'll discover how to minimize your dependence on external frameworks, and you'll pick up valuable productivity techniques for testing and deploying your applications.

What's Inside

  • Basics
  • Testing and benchmarking
  • Using concurrency
  • Deploying to standalone servers, PaaS, and Docker
  • Dozens of tips, tricks, and techniques

About the Reader

This book assumes you're familiar with Go language basics and the general concepts of web development.

About the Author

Sau Sheong Chang is Managing Director of Digital Technology at Singapore Power and an active contributor to the Ruby and Go communities.

Table of Contents

    PART 1 GO AND WEB APPLICATIONS

  1. Go and web applications
  2. Go ChitChat
  3. PART 2 BASIC WEB APPLICATIONS

  4. Handling requests
  5. Processing requests
  6. Displaying content
  7. Storing data
  8. PART 3 BEING REAL

  9. Go web services
  10. Testing your application
  11. Leveraging Go concurrency
  12. Deploying Go

商品描述(中文翻譯)


摘要

Go Web Programming教你如何使用現代設計原則在Go中構建可擴展、高性能的網絡應用程序。

購買印刷版書籍將包含一本免費的電子書,格式為PDF、Kindle和ePub,由Manning Publications提供。

關於技術

Go語言通過提供乾淨且快速的編譯代碼、垃圾回收、簡單的並發模型和出色的標準庫來應對可擴展、高性能的網絡應用程序的需求。它非常適合編寫微服務或構建可擴展、易於維護的系統。

關於本書

Go Web Programming教你如何使用現代設計原則在Go中構建網絡應用程序。你將學習如何實現依賴注入設計模式以編寫測試替身,使用並發處理網絡應用程序,以及在網絡服務中創建和消費JSON和XML。在此過程中,你將發現如何最大程度地減少對外部框架的依賴,並學習有價值的測試和部署應用程序的生產力技巧。

內容簡介



  • 基礎知識

  • 測試和基準測試

  • 使用並發處理

  • 部署到獨立服務器、PaaS和Docker

  • 數十個技巧和技術

讀者對象

本書假設你熟悉Go語言基礎和網絡開發的一般概念。

作者簡介

Sau Sheong Chang是新加坡能源公司數字技術總監,也是Ruby和Go社區的活躍貢獻者。

目錄



    第1部分 Go和網絡應用程序


  1. Go和網絡應用程序

  2. Go ChitChat

  3. 第2部分 基礎網絡應用程序


  4. 處理請求

  5. 處理請求

  6. 顯示內容

  7. 存儲數據

  8. 第3部分 真實世界


  9. Go網絡服務

  10. 測試應用程序

  11. 利用Go並發處理

  12. 部署Go