Full-Stack Web Development with Go: Build your web applications quickly using the Go programming language and Vue.js

Tolaram, Nanik, Glynn, Nick

  • 出版商: Packt Publishing
  • 出版日期: 2023-02-24
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 302
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803234199
  • ISBN-13: 9781803234199
  • 相關分類: Go 程式語言Vue.js
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

A Go programmer's hands-on guide to go from building basic server-side templates to full single page apps using Tailwind CSS, Vue.js, and more

Key Features

- Learn how to structure your Go projects, be smarter with SQLc, create middleware and secure your apps
- Explore different frontend frameworks and dive into Vue and Tailwind CSS
- Use Terraform and Docker and deploy in minutes

Book Description

Go is a modern programming language with capabilities to enable high-performance app development. With its growing web framework ecosystem, Go is a preferred choice for building complete web apps. This practical guide will enable you to take your Go skills to the next level building full stack apps.

This book walks you through creating and developing a complete modern web service from auth, middleware, server-side rendering, databases, and modern frontend frameworks and Go-powered APIs. You'll start by structuring the app and important aspects such as networking, before integrating all the different parts together to build a complete web product. Next, you'll learn how to build and ship a complete product by starting with the fundamental building blocks of creating a Go backend. You'll apply best practices for cookies, APIs, and security, and level up your skills with the fastest growing frontend framework, Vue. Once your full stack application is ready, you'll understand how to push the app to production and be prepared to serve customers and share it with the world.

By the end of this book, you'll have learned how to build and ship secure, scalable, and complete products and how to combine Golang with existing products using best practices.

What you will learn

- Discover how to quickly scaffold, structure, and build your Golang applications
- Design and build databases using PostgreSQL and SQLc to generate type-safe SQL code
- Monitor applications with centralized logging and metrics collection for high performance
- Explore frontend frameworks and libraries such as Vuetify, Buefy, and Tailwind CSS to build a responsive frontend for your app
- Communicate securely between the frontend and backend with cookies and session handling with middleware
- Understand how to package applications using Docker and set up CI pipelines in GitHub

Who this book is for

This book is for Go programmers who want to combine the power of the Go language with modern web development technologies to build complete web apps from frontend to backend. The book assumes beginner-level knowledge of HTML, CSS, and the web.

商品描述(中文翻譯)

一本Go程式設計師的實戰指南,從建立基本的伺服器端模板到使用Tailwind CSS、Vue.js等技術建立完整的單頁應用程式。

主要特點:
- 學習如何結構化Go專案,使用SQLc更聰明地處理資料庫,建立中介軟體並保護應用程式
- 探索不同的前端框架,深入研究Vue和Tailwind CSS
- 使用Terraform和Docker,在幾分鐘內部署應用程式

書籍描述:
Go是一種現代的程式語言,具有高效能應用程式開發的能力。憑藉其不斷增長的網頁框架生態系統,Go成為構建完整網頁應用程式的首選。本實用指南將幫助您將Go技能提升到下一個層次,建立全棧應用程式。

本書將引導您從身份驗證、中介軟體、伺服器端渲染、資料庫到現代前端框架和Go驅動的API,創建和開發完整的現代網頁服務。您將從應用程式結構和網路等重要方面開始,然後將所有不同的部分整合在一起,構建完整的網頁產品。接下來,您將學習如何從創建Go後端的基本構建塊開始,建立並發布完整的產品。您將應用最佳實踐來處理Cookie、API和安全性,並提升技能,使用增長最快的前端框架Vue。一旦您的全棧應用程式準備就緒,您將了解如何將應用程式推送到生產環境,並準備好為客戶提供服務並與世界分享。

通過閱讀本書,您將學習如何構建和發布安全、可擴展和完整的產品,以及如何運用最佳實踐將Golang與現有產品結合。

您將學到:
- 發現如何快速搭建、結構化和建立Golang應用程式
- 使用PostgreSQL和SQLc設計和建立資料庫,生成類型安全的SQL程式碼
- 通過集中式日誌和指標收集監控應用程式,實現高性能
- 探索前端框架和庫,如Vuetify、Buefy和Tailwind CSS,為應用程式構建響應式前端
- 通過中介軟體使用Cookie和會話處理,實現前端和後端之間的安全通信
- 了解如何使用Docker打包應用程式,並在GitHub上設置CI流程

本書適合對Go語言和現代網頁開發技術有興趣的程式設計師,從前端到後端構建完整的網頁應用程式。本書假設讀者具有HTML、CSS和網頁的初級知識。

目錄大綱

1. Building the Database and Model
2. Application Logging
3. Application Metrics and Tracing
4. Serving and Embedding HTML Content
5. Securing the Backend and Middleware
6. Moving to API-First
7. Frontend Frameworks
8. Frontend Libraries
9. Tailwind, Middleware, and CORS
10. Session Management
11. Feature Flags
12. Building Continuous Integration
13. Dockerizing an Application
14. Cloud Deployment

目錄大綱(中文翻譯)

1. 建立資料庫和模型
2. 應用程式記錄
3. 應用程式指標和追蹤
4. 提供和嵌入 HTML 內容
5. 保護後端和中介軟體
6. 轉向 API-First
7. 前端框架
8. 前端函式庫
9. Tailwind、中介軟體和跨來源資源共用
10. 會話管理
11. 功能旗標
12. 建立持續整合
13. 將應用程式容器化
14. 雲端部署