Simple Go web apps
A set of simple web apps with form-and-table UIs deliberately built to avoid future rewrites: Go with the standard library HTML templates (with Gomponents a possible future experiment), a copied-in minified HTMX file for interactivity, and hand-written CSS to minimize dependencies. After a year in use the stack has needed no updates and has been solid.
What it addresses
Writing web apps so they do not have to be rewritten later as front-end trends change.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Simple Go web apps
A set of simple web apps with form-and-table UIs deliberately built to avoid future rewrites: Go with the standard library HTML templates (with Gomponents a possible future experiment), a copied-in minified HTMX file for interactivity, and hand-written CSS to minimize dependencies. After a year in use the stack has needed no updates and has been solid.
Problem: Writing web apps so they do not have to be rewritten later as front-end trends change.
Posted by @bbkane · Original source ↗
Source text · @bbkane · · Source ↗
I'm trying to go the other way with my (simple) web apps- writing them so I don't have to rewrite them later. The whole UI is basically a form and a table, so I figured I should try. For me that means Go + stdlib HTML templates (I want to try Gomponents at some point) to minimize dependencies. I copied the HTMX JS minified file into my source tree for some interactivity. I handwrote the CSS.