opensourcecorp / website

Content generator for the OpenSourceCorp public website
https://opensourcecorp.org
MIT License
0 stars 1 forks source link

htmx #2

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

saw htmx in the make file and got excited :)

Any dynamics like forms etc can use htmx because its also just html over the wire.

You can combine HTMX with a SSG like Hugo and generate a bunch of partial HTML files that HTMX can load later on request. No server is required.

If the DB has CDC then we can gen the html off the change stream of the DB.

SO a user submits data, it hits the db, the db cdc fires an event of the new data and hugo makes the new content and htmx real time pushes that new content to the web browser