ebuckley / cr-sqlite-go

A simple golang library that exposes the cr-sqlite extension for sqlite
5 stars 2 forks source link

Server side rendering using Out of Order streaming #4

Open gedw99 opened 3 months ago

gedw99 commented 3 months ago

I am planning to hook it up with a HTMX approach that uses no JS.

I imagine that this is very much not what you want in this repo but I just wanted to present a bit of a different option.

https://github.com/ryoid/go-streaming-html-ooo

When the DB changes, the middle tier streams the changes to the Browser. It's very simple but I feel quite powerful because there is very little indirection because the DB drives everything.