|
|
|
|
|
by hatefulheart
237 days ago
|
|
Despite reading the README and the article I am still unclear about how these templated values are populated. So presumably we store our HTML on the sql server along with some templating syntax then how do we plug that value so to speak? Secondly, what do we do about things like HTML fragments à la HTMX / Datastar hypermedia approach? Do we just hit the DB for 10 lines of HTML to populate the next card in a multi step form? |
|
Then I use this little Ruby script to sync them into the database, which is where they're actually used:
https://github.com/sivers/sivers/blob/master/scripts/templat...
I haven't done HTMX fragments yet. This repository is quite new, and only like 5% done.