filmov
tv
Go & HTMX is the simplicity I miss - Golang Tutorial
Показать описание
In this video, we explore how to build a dynamic, SPA-like website using Go and HTMX, perfect for developers tired of complex JavaScript libraries. We'll create a simple HTTP server in Go, render HTML, and fetch data from the PokeAPI to display Pokémon cards. You'll learn how to handle user input with basic HTML forms and make seamless updates using HTMX. This tutorial is ideal for those looking to simplify their development process while maintaining a high-quality user experience. For detailed code and explanations, check out the blog post linked below. Let's dive in!
Timestamps:
0:00 - Introduction
01:00 - Simple server in Golang
01:48 - Rendering HTML from server
02:59 - Adding static card to index html
03:55 - Fetching Pokemon details
05:26 - Making the card dynamic
07:50 - Adding form to accept user input
08:54 - Adding a post endpoint to handle user submission
11:43 - Using HTMX to render response
14:15 - Adding a form in response
15:13 - Final result
15:50 - Outro
Tools I use:
- Helix Editor
- Zellij terminal mux
- Kitty terminal
- Catpuccin Mocha everywhere
- Mac mini M2
======================================
#golang #go-tutorial #leangolang #google #programming #web
Timestamps:
0:00 - Introduction
01:00 - Simple server in Golang
01:48 - Rendering HTML from server
02:59 - Adding static card to index html
03:55 - Fetching Pokemon details
05:26 - Making the card dynamic
07:50 - Adding form to accept user input
08:54 - Adding a post endpoint to handle user submission
11:43 - Using HTMX to render response
14:15 - Adding a form in response
15:13 - Final result
15:50 - Outro
Tools I use:
- Helix Editor
- Zellij terminal mux
- Kitty terminal
- Catpuccin Mocha everywhere
- Mac mini M2
======================================
#golang #go-tutorial #leangolang #google #programming #web
Комментарии