Learning Go Web Development
暫譯: Go 網頁開發入門
Nathan Kozyra
- 出版商: Packt Publishing
- 出版日期: 2016-04-29
- 售價: $1,350
- 貴賓價: 9.5 折 $1,283
- 語言: 英文
- 頁數: 136
- 裝訂: Paperback
- ISBN: 178528231X
- ISBN-13: 9781785282317
-
相關分類:
Go 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
相關主題
商品描述
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
- Introducing and Setting Up Go
- Serving and Routing
- Connecting to Data
- Using Templates
- Frontend Integration with RESTful APIs
- Sessions and Cookies
- Microservices and Communication
- Logging and Testing
- Security
- Caching, Proxies, and Improved Performance
商品描述(中文翻譯)
關鍵特點
- 建立一個功能完整的 REST API,以支援客戶端單頁應用程式
- 利用 TLS 建立可靠且安全的網站
- 提供開發者所需的所有資訊,以在 Go 中構建端到端的網頁應用程式的快速指南
書籍描述
Go 是一種開源程式語言,使得構建簡單、可靠且高效的軟體變得容易。它是一種靜態類型語言,語法大致源自 C,增加了垃圾回收、類型安全、某些動態類型能力、額外的內建類型(如可變長度陣列和鍵值映射)以及一個龐大的標準庫。
《學習 Go 網頁開發》是一本從頭到尾的指南,涵蓋了對於任何構建新網頁應用程式至關重要的主題。無論是保持應用程式的安全性、連接到資料庫、啟用基於令牌的身份驗證,還是使用無邏輯模板,本書都能滿足您的需求。您將首先學習路由請求和實作 SSL。接下來,您將了解保持用戶數據安全的最佳實踐。在書籍結束時,您將能夠為網頁構建穩健、安全且功能完整的應用程式。
您將學到的內容
- 創建一個監聽的網頁伺服器
- 路由請求
- 實作 SSL/TLS
- 使用 Go 的無邏輯模板
- 實作快取以達到最佳性能
- 使用會話和 cookies
- 利用安全最佳實踐來保護用戶和數據
- 連接到數據來源
- 創建一個 RESTful API
關於作者
**Nathan Kozyra** 是一位經驗豐富的網頁開發者,擁有近二十年的專業軟體開發經驗。自 Go 首次發布以來,他因其強大、優雅和可用性而被這種語言所吸引。
他對網頁開發、音樂製作和機器學習有濃厚的興趣。他已婚,並有一個兩歲的兒子。
目錄
1. 介紹與設置 Go
2. 服務與路由
3. 連接到數據
4. 使用模板
5. 與 RESTful API 的前端整合
6. 會話與 cookies
7. 微服務與通信
8. 日誌與測試
9. 安全性
10. 快取、代理與性能提升