News for hackers. Stuff that matters.

mstef9

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @12:26PM (#31960358)
what do you think of Ent [1]?

[1] https://entgo.io/

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @10:51AM (#31959464)
Devs interested in this may also be interested in Pagoda [1], a rapid, easy full-stack web development starter kit in Go that I wrote. It leverages popular frameworks and modules that you can easily swap out, if desired. The readme contains full documentation and it's very much batteries-included.

[1] https://github.com/mikestefanello/pagoda

Re:Show HN: A Full-Stack Web Framework for Go on Friday May 13, 2022 @04:07PM (#31372019)
People interested in this might also find my project Pagoda [0] interesting. It's a full-stack web dev starter kit for Go, rather than a framework with any strict patterns or lock-in. It leverages Echo (web) and Ent (ORM) but they can be easily swapped out, if desired.

It also has HTMX [1] integration to create slick/modern UI behavior without writing any JS.

[0] https://github.com/mikestefanello/pagoda [1] https://htmx.org

Re:Back-end languages are coming to the front-end on Thursday February 10, 2022 @10:39AM (#30287683)
You can achieve full support with JS disabled using HTMX as well. It takes a little more work but HTMX provides headers[0] which you can evaluate on the backend to determine if you should return a partial or not. If JS is disabled, the HTMX headers will be missing and you know it's not an HTMX request.

[0] https://htmx.org/reference/#request_headers

Re:Back-end languages are coming to the front-end on Thursday February 10, 2022 @08:25AM (#30285647)
I was going to say that I was surprised htmx wasn't mentioned in the article. It's backend-agnostic and extremely easy to use. Drop in Alpine.js and I think you have a really powerful setup without writing any JS. I've been using this with Go[0] and enjoying it.

[0] https://github.com/mikestefanello/pagoda