I took a look at Go and HTMX using a web generation tool, Gowebly.

A next-generation CLI tool for building amazing web apps. Go, htmx & hyperscript, modern CSS frameworks!

</> htmx - high power tools for html

htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react

@sontags @resmo I generally try to do that but it's difficult to judge where to draw the line.
I need a lot of different data for my templates (using #templ) and I try to avoid doing a lot of logic in those. But the backend data model doesn't trivially map to the view data model, so something has to do the conversion. It's not always clear where to push that logic.
Highlights laatste maand
1. #Templ
2. #ipad
3. #Maner #FMF
4. #Gear #LD
5. #Farao #VT
6. Farao
7-9. #Macaber
10. #Afresh

#DutchGraffiti #AmsterdamGraffiti #Graffiti #Amsterdam
Add Go tool dependencies (templ, sqlc, goose) and update documentation

This MR improves the developer experience by adding code generation tools as Go tool dependencies and enhancing the documentation. ### Added `templ`, `sqlc`, and `goose` as Go tool dependencies in `go.mod` By declaring these as tool dependencies, we ensure: - Version pinning—all developers...

Codeberg.org

@loop0 Lately, I'm most comfortable with #Go + #Templ + #HTMX (GoTH).
Since the standard library's ServeMux gained support for HTTP methods I see no need for external routers.
Middleware I simply write myself, after all, it's just a function decorating a Handler. I wrote a simple package to be able to chain them easily but that's it.

At work I am writing a pretty complex piece of web application with that stack and so far I'm quite happy. It takes a bit of discipline not to let the endpoints get out of hand because with HTMX that can happen easily. Also, while building this project I slowly built up a Templ UI component library to keep the templates manageable.

The result of all this is the ability to keep my dependencies to a minimum which is something that's important to me because it makes keeping track of vulnerabilities much easier.

I'm even in the process of eliminating Tailwind. CSS can so do much these days and Tailwind's concept of composing utility classes doesn't scale well for me.

#golang

dev en cours: migration de mon moteur de blog #gibson vers #templ
https://templ.guide
Introduction | templ docs

templ - build HTML with Go

I must say #golang and #templ, are like catnip. 😅 You can do SO much with those two.

Case in point, #irgo. A new framework for targeting mobile and desktop apps. All with go, templ, and #datastar. 🫡

https://irgo.dev/

irgo - Native Apps with Go + Datastar

Build native iOS, Android, and desktop apps using Go, HTML, and Datastar. No JavaScript frameworks required.

If your web app doesn't look like this, I don't want it

#Golang #templ #nix

Well I think I'm sold on using https://templui.io and https://pro.templui.io for web apps I build with Go and templ.

#GoLang #templ #templui #TailwindCSS #WebDev
The UI Kit for templ - templUI

Beautifully designed components that you can copy and paste into your apps. Built with templ, Tailwind CSS, and Vanilla JS.

templUI
En ce début de vacances, mes parents m'ont demandé de faire une application qui les notifierait lorsqu'il faisait trop chaud dans la serre et qu'il fallait l'ouvrir (mon petit frère électronicien a déjà fait le capteur)
Je me suis dit que ce serait l'occasion d'apprendre le #golang et d'autres technologies ( #templ #sqlc #alpineJS etc... )
Maintenant je termine gentiment le backend, et la partie la plus dure m'attend: faire un appli Android (j'ai pas hâte) 💀