Skip to content

Datastar example #1

@joeblew999

Description

@joeblew999

https://github.com/walterwanderley/sqlc-http/tree/main/_examples/authors/sqlite-frontend Is great

There is also Datastar

https://github.com/starfederation/datastar-go

And a web component gui for it

https://github.com/CoreyCole/datastarui

The matching up of HA CDC allows a real time web GUI.

Would be really interesting to explore this since your HA project uses nats leaf nodes , and Datastar works well with NATS feeds.

Datastar is more productive than htmx, due to it having signals , this removing the need for extra js libraries in the browser .

—-

Business logic and validation …

This is the bit often missing but it’s possible to use Bento for this , and have it in the pipeline for any mutations .

The interesting bit is where you put it into the pipeline . Any mutation needs logic but sometimes also reads too .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions