Learning Go Web Development

Nathan Kozyra

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-29
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 136
  • 裝訂: Paperback
  • ISBN: 178528231X
  • ISBN-13: 9781785282317
  • 相關分類: Go 程式語言
  • 下單後立即進貨 (約3~4週)

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

商品描述

Key Features

  • Build a fully-featured REST API to enable client-side single page apps
  • Utilize TLS to build reliable and secure sites
  • A quick guide that provides everything a developer needs to know to build end-to-end web applications in Go

Book Description

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. It is a statically typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

Learning Go Web Development is a start-to-finish walkthrough of the topics most critical to anyone building a new web application. Whether it's keeping your application secure, connecting to your database, enabling token-based authentication, or utilizing logic-less templates, this book has you covered. You'll begin by learning about routing requests and implementing SSL. Moving on, you'll get to know about practices to keep users' data safe. By the end of the book, you will be able to build robust, secure, and fully-featured applications for the web.

What you will learn

  • Create a listening web server
  • Route requests
  • Implement SSL/TLS
  • Use Go's logic-less templates
  • Implement caching for maximum performance
  • Use sessions and cookies
  • Utilize security best practices to keep users and data safe
  • Connect to data sources
  • Create a RESTful API

About the Author

Nathan Kozyra is a seasoned web developer, with nearly two decades of professional software development experience. Since Go's initial release, he has been drawn to the language for its power, elegance, and usability.

He has a strong interest in web development, music production, and machine learning. He is married and has a two-year-old son.

Table of Contents

  1. Introducing and Setting Up Go
  2. Serving and Routing
  3. Connecting to Data
  4. Using Templates
  5. Frontend Integration with RESTful APIs
  6. Sessions and Cookies
  7. Microservices and Communication
  8. Logging and Testing
  9. Security
  10. Caching, Proxies, and Improved Performance

商品描述(中文翻譯)

主要特點



  • 建立一個完整功能的 REST API,以支援客戶端單頁應用程式

  • 使用 TLS 建立可靠且安全的網站

  • 提供開發人員所需的一切,以建立端到端的網頁應用程式的快速指南

書籍描述


Go 是一種開源的程式語言,它使得建立簡單、可靠和高效的軟體變得容易。它是一種靜態類型的語言,其語法鬆散地衍生自 C 語言,並添加了垃圾回收、類型安全性、一些動態類型的能力、額外的內建類型(如可變長度陣列和鍵值對映)以及一個龐大的標準函式庫。


《學習 Go 網頁開發》是一本從頭到尾的指南,涵蓋了任何建立新網頁應用程式所需的關鍵主題。不論是保護應用程式的安全性、連接資料庫、啟用基於令牌的驗證,還是使用無邏輯模板,本書都能提供相關解決方案。您將首先學習如何處理路由請求和實現 SSL。接著,您將了解保護使用者資料的最佳實踐。通過閱讀本書,您將能夠建立強大、安全且功能完整的網頁應用程式。

你將學到什麼



  • 建立一個監聽的網頁伺服器

  • 處理路由請求

  • 實現 SSL/TLS

  • 使用 Go 的無邏輯模板

  • 實現快取以達到最佳效能

  • 使用會話和 Cookie

  • 運用安全最佳實踐,保護使用者和資料的安全性

  • 連接資料來源

  • 建立一個 RESTful API

關於作者


Nathan Kozyra 是一位經驗豐富的網頁開發人員,擁有近二十年的專業軟體開發經驗。自 Go 語言首次發布以來,他就被這種語言的強大、優雅和易用性所吸引。


他對網頁開發、音樂製作和機器學習有濃厚的興趣。他已婚並有一個兩歲的兒子。

目錄



  1. 介紹和設置 Go

  2. 伺服和路由

  3. 連接資料

  4. 使用模板

  5. 與 RESTful API 整合前端

  6. 會話和 Cookie

  7. 微服務和通訊

  8. 日誌和測試

  9. 安全性

  10. 快取、代理和改進效能