https://github.com/timfts/go-htmx-experiment
https://github.com/timfts/go-htmx-experiment
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/timfts/go-htmx-experiment
- Owner: Timfts
- Created: 2024-07-04T03:50:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T18:51:48.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T07:44:00.049Z (over 1 year ago)
- Language: Go
- Size: 14.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### HTMX + Go experiment
This is just a stupid todo-like project made to explore the symbiosis between HTMX and a Golang (echo) mvc app.
Although it's not an approach I would use in the projects I usually deal with, this model certainly gives me some interesting ideas for specific scenarios (maybe wordpress??). I feel that this combination makes sense for monolithic/MVC projects, where the front end and back end are a single entity, projects with server-side rendering that use templating tools to build the HTML. With this, we can add interactivity to the view while maintaining 100% synchronization with the server, ensuring that what is being rendered on the screen is truly a reflection of the state controlled by the server.
(Made for the sake of curiosity, [folowing the FM Course](https://theprimeagen.github.io/fem-htmx/lessons/htmx-basics))
