Go Web Programming: Beginner
เรียนรู้การพัฒนาเว็บแอปพลิเคชันด้วยภาษา Go ตั้งแต่พื้นฐานจนถึงการสร้างโปรเจกต์จริง
หนังสือเล่มนี้เป็นคู่มือสำหรับผู้เริ่มต้นที่ต้องการเข้าใจ Web Programming ด้วย Go อย่างครบวงจร ตั้งแต่แนวคิดพื้นฐานจนถึงการสร้างเว็บแอปพลิเคชันจริง โดยเนื้อหาจัดเรียงอย่างเป็นลำดับขั้นตอนตามสารบัญดังนี้:
บทที่ 1 Introduction to Web Programming in Go (หน้า 1)
Introduction to Web Programming in Go
Introduction to Web Programming in Go (Deep Dive)
การทำความเข้าใจ Web Programming แบบละเอียดที่สุด
Client-Server Architecture (สถาปัตยกรรมลูกค้า-เซิร์ฟเวอร์)
HTTP Protocol พื้นฐาน (Basic HTTP Protocol)
ข้อดีของ Go ในการทำ Web Development
การติดตั้ง Go สำหรับ Web Programming
บทที่ 2 Getting Started with net/http (หน้า 45)
Getting Started with net/http
Getting Started with net/http แบบละเอียด
รายละเอียดเชิงลึกของ package net/http
การสร้าง HTTP Server แบบง่าย (Basic HTTP Server in Go)
การรับ Request และส่ง Response ใน Go
การจัดการ HTTP Methods ใน Go
ตัวอย่างโปรเจกต์บูรณาการ
บทที่ 3 Routing (หน้า 120)
Routing
รายละเอียดเชิงลึกของ Routing ใน Go
การใช้ http.HandleFunc ใน Go Web Programming
การสร้าง Custom Router ใน Go Web Programming แบบเชิงลึก
การใช้ Third-party Routers ใน Go โดยเฉพาะ gorilla/mux และ chi
บทที่ 4 Handling Requests and Responses (หน้า 189)
Handling Requests and Responses
Handling Requests and Responses แบบละเอียด
การอ่าน request data
การตั้งค่า Response Headers และ Status Code
การส่ง JSON, HTML และไฟล์
ตัวอย่างบูรณาการ
บทที่ 5 Templates in Go (หน้า 244)
Templates in Go
Templates in Go (เชิงลึก)
การใช้ html/template
การ render dynamic HTML
การใช้ Template Functions และ Template Inheritance
ตัวอย่างบูรณาการ
บรรณานุกรม (หน้า 302)
หนังสือเล่มนี้ช่วยให้ผู้อ่านเข้าใจตั้งแต่ พื้นฐาน Web Programming, การจัดการ HTTP, Routing, การรับ-ส่งข้อมูล, ไปจนถึงการสร้าง dynamic HTML ด้วย Templates พร้อมตัวอย่างโค้ดและโปรเจกต์บูรณาการ ทำให้สามารถต่อยอดไปสู่การพัฒนาเว็บแอปพลิเคชันที่ครบวงจรและมีประสิทธิภาพ
________________________________________
สารบัญ
หน้า
บทที่ 1 Introduction to Web Programming in Go 1
Introduction to Web Programming in Go
Introduction to Web Programming in Go (Deep Dive)
การทำความเข้าใจ Web Programming แบบละเอียดที่สุด
Client-Server Architecture (สถาปัตยกรรมลูกค้า-เซิร์ฟเวอร์)
HTTP Protocol พื้นฐาน (Basic HTTP Protocol)
ข้อดีของ Go ในการทำ Web Development
การติดตั้ง Go สำหรับ Web Programming
บทที่ 2 Getting Started with net/http 45
Getting Started with net/http
Getting Started with net/http แบบละเอียด
รายละเอียดเชิงลึกของ package net/http
การสร้าง HTTP Server แบบง่าย (Basic HTTP Server in Go)
การรับ Request และส่ง Response ใน Go
การจัดการ HTTP Methods ใน Go
ตัวอย่างโปรเจกต์บูรณาการ
บทที่ 3 Routing 120
Routing
รายละเอียดเชิงลึกของ Routing ใน Go
การใช้ http.HandleFunc ใน Go Web Programming
การสร้าง Custom Router ใน Go Web Programming แบบเชิงลึก
การใช้ Third-party Routers ใน Go โดยเฉพาะ gorilla/mux และ chi
บทที่ 4 Handling Requests and Responses 189
Handling Requests and Responses
Handling Requests and Responses แบบละเอียด
การอ่าน request data
การตั้งค่า Response Headers และ Status Code
การส่ง JSON, HTML และไฟล์
ตัวอย่างบูรณาการ
บทที่ 5 Templates in Go 244
Templates in Go
Templates in Go (เชิงลึก)
การใช้ html/template
การ render dynamic HTML
การใช้ Template Functions และ Template Inheritance
ตัวอย่างบูรณาการ