News for hackers. Stuff that matters.
Re:HMPL – template language for displaying UI from server to... by Dansvidania on Friday August 09, 2024 @05:27PM (#41205516)
can someone smarter than me please point out what the differences are between HMPL and HTMX?
Re:HMPL – template language for displaying UI from server to... by Normal_gaussian on Friday August 09, 2024 @05:35PM (#41205566)
Its a few kb smaller, though I wouldnt trust it to stay that way.
Re:HMPL – template language for displaying UI from server to... by antonmak1 on Saturday August 10, 2024 @01:46PM (#41211069)
Thank you very much for your feedback! This is a template language oriented primarily to work via JavaScript. It does not functionally interact with the real DOM in any way. You create separate objects with nodes. Also, the syntax is based on passing objects "to HTML", while HTMX works via attributes. I have long wanted to make a full-fledged article on this topic, but I never got around to it. I am already tired of just writing the same thing over and over again.
Re:HMPL – template language for displaying UI from server to... by antonmak1 on Saturday August 10, 2024 @01:47PM (#41211075)
It's entirely my fault that I haven't written an article on this topic yet.
Re:HMPL – template language for displaying UI from server to... by antonmak1 on Sunday August 11, 2024 @09:48AM (#41216129)
Re:HMPL – template language for displaying UI from server to... by Dansvidania on Sunday August 11, 2024 @03:28PM (#41218702)
thank you for expanding, although I am still not entirely sure I understand why I would use one or the other.

I might just be dense :D