Htmx and Hyperscript

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
garmeister
Posts: 29
Joined: Sat Apr 10, 2021 6:56 pm

Htmx and Hyperscript

Post by garmeister » Tue May 10, 2022 4:09 pm

Hey everyone,
I saw someone mention Htmx during the recent LiveCode conference and I found it really interesting. Hyperscript appears to share a lot in common with LiveCode Scripting language. Does anyone have any experience with using Htmx and its scripting language, Hyperscript? It would be cool if there were some interoperability between LiveCode and Htmx.

Cheers,

Gary Chike
Gary E Chike DMD
"Experience is what you get when you don't get what you want"

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Htmx and Hyperscript

Post by richmond62 » Tue May 10, 2022 6:33 pm

Hyperscript appears to share a lot in common with LiveCode Scripting language.
You don't say . . .

Remember that the web-browser thing and HTML came out of the HyperText concept in HyperCard,
of which LiveCode is the great-godson.

stam
Posts: 2634
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Htmx and Hyperscript

Post by stam » Wed May 11, 2022 12:47 am

garmeister wrote:
Tue May 10, 2022 4:09 pm
I saw someone mention Htmx during the recent LiveCode conference and I found it really interesting. Hyperscript appears to share a lot in common with LiveCode Scripting language. Does anyone have any experience with using Htmx and its scripting language, Hyperscript? It would be cool if there were some interoperability between LiveCode and Htmx.
Hi Gary - I'm not sure i understand the question. If you have LC/server/HTML5, why would you want to use lesser tools like HTMX and HyperScript?
Server is quite mature and renders webpages as these tools aspire to, but in a more complete x-talk implementation. Or to put it differently, these tools seem like the lesser bastard grandchildren of hypercard, against the pureblood descendent that is LiveCode ;)

So yes, there are some similarities but I can't see LC having any interest in this.

The only value of these opensource projects may in fact link to OpenXTalk, the openSource initiative that was created to try and preserve the openSource LiveCode, that was discontinued last year: https://openxtalk.org

This may in fact be the thing for the openXTalk community to focus on, rather than trying to resurrect the ancient hulk of the LC openSource carcass...

keliko
Posts: 85
Joined: Thu Aug 01, 2019 8:15 am

Re: Htmx and Hyperscript

Post by keliko » Wed May 11, 2022 2:46 am

i use htmx for quite a long time. htmx like alpinejs, jquery. htmx works on the client side.
like a javascript library but write the syntax directly in html, for example hx-get "https://urllivecode.server/get01"

livecode server like php. browser will reload when sending http request( get or post)
htmx is ajax, browser will not reload. if send http request.

garmeister
Posts: 29
Joined: Sat Apr 10, 2021 6:56 pm

Re: Htmx and Hyperscript

Post by garmeister » Sun May 29, 2022 3:09 pm

Thanks guys for the insightful responses! It's good to hear everyone experiences with LC and other similar technologies. I'm still learning much about the lay of LC land :)
Gary E Chike DMD
"Experience is what you get when you don't get what you want"

Post Reply

Return to “Off-Topic”