Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Was just checking out htmx, thoughts on using it with TXP?
I was just watching this demo of htmx:
(The simple example starts at 20:24 to about 32:00.)
It’s Django being used instead of TXP in the video, but hopefully the general principles make sense.
The htmx features seem like a pretty interesting way to cut down on using so much JS. You basically only type in some HTML, and add some logic from your CMS or server-side code, but you still get some helpful web interactivity out of it. So if possible, I think I’d like to try it out at my own TXP site and see how it goes.
From what I can tell, it seems like this should work pretty well in TXP, just using a new section for the /color endpoint? Or is that a good idea? It’s been a while since I’ve made a new section that’s basically style-free. Any other recommended ways to go about this, or input, advice, ideas? Thanks in advance!
Last edited by maruchan (2022-07-13 02:09:35)
Offline