Earlier quoted context omitted.
I know nothing about HTMX. Where do I look first?
https://htmx.org/ The examples at https://htmx.org/examples/ may also be helpful
Show HN: I made a HTMX Playground 100% in the browser
91–100 of 126 posts
Re: Show HN: I made a HTMX Playground 100% in the browser
#92Earlier quoted context omitted.
I know nothing about HTMX. Where do I look first?
If you want a longer introduction you can read out book (free online): https://hypermedia.systems
Re: Show HN: I made a HTMX Playground 100% in the browser
#93Earlier quoted context omitted.
If I understood correctly, you can achive this with `hx-target` and `hx-select` - I'm doing this in an app to replace an editor content based on which link is clicked. - https://htmx.org/attributes/hx-select/ - https://htmx.org/attributes/hx-target/
Oh that's neat - so you can return more than htmx will use and it can select the element it needs in the response and discard the rest
Re: Show HN: I made a HTMX Playground 100% in the browser
#94Is Htmx just the long overdue successor to DHTML that was all the hype in, say, 1997?
believe it or not I was around back then and, no, htmx is not the successor to DHTML, which was very JavaScript heavy htmx is an attempt to generalize the two core hypermedia controls in HTML (anchors & forms). It does this by making any element able to respond to any event by issuing any type of HTTP request and then placing the returned HTML anywhere (and in any manner) in the DOM. This last idea is called transclu…
Re: Show HN: I made a HTMX Playground 100% in the browser
#95Re: Show HN: I made a HTMX Playground 100% in the browser
#96Re: Show HN: I made a HTMX Playground 100% in the browser
#97hey there, I'm the creator of htmx, and I really appreciate you making this! very cool!
Haven’t tried htmx. Have you heard of phoenix liveview? Are they similar concepts?
this makes htmx more work, in general, to accomplish things but also less opaque
htmx is laser focused on generalizing hypermedia controls in HTML (anchors & forms)
Re: Show HN: I made a HTMX Playground 100% in the browser
#98Earlier quoted context omitted.
believe it or not I was around back then and, no, htmx is not the successor to DHTML, which was very JavaScript heavy htmx is an attempt to generalize the two core hypermedia controls in HTML (anchors & forms). It does this by making any element able to respond to any event by issuing any type of HTTP request and then placing the returned HTML anywhere (and in any manner) in the DOM. This last idea is called transclu…
If you have time, I have a question I haven't been able to answer reading the docs or skimming the linked book. My company's front end apps communicate exclusively with a GraphQL orchestration layer. I tried a while back to learn HTMX by building a demo remake of one of our apps, and I actually couldn't figure out how to make those requests. Am I missing something, or is this just a bad use case for HTMX?
doable, but not fun
Re: Show HN: I made a HTMX Playground 100% in the browser
#99Earlier quoted context omitted.
believe it or not I was around back then and, no, htmx is not the successor to DHTML, which was very JavaScript heavy htmx is an attempt to generalize the two core hypermedia controls in HTML (anchors & forms). It does this by making any element able to respond to any event by issuing any type of HTTP request and then placing the returned HTML anywhere (and in any manner) in the DOM. This last idea is called transclu…
I know this isn't something the authors can fix just like that, but shipping and import duties mean that the hard cover book is about as expensive for me as the smartphone I'm writing this on ($96.32 for a Samsung Galacy M04 as compared to $96.6 for the book). The book is great though. If you can't afford it I highly recommend reading it on the website. I haven't gotten through the last section just yet due to family…
You can head here:
https://hypermedia.systems/hypermedia-systems/
and print the book to PDF, adjusting fonts, etc as you like, and then print it out at a local print shop, if you want the text in high-res print.
If you like the cover, you can purchase a poster of it here:
https://swag.htmx.org/products/hypermedia-systems-cover-post...
We are selling the 18x12 at cost so people can have it w/o spending $50 on the hardback.
Re: Show HN: I made a HTMX Playground 100% in the browser
#100Earlier quoted context omitted.
believe it or not I was around back then and, no, htmx is not the successor to DHTML, which was very JavaScript heavy htmx is an attempt to generalize the two core hypermedia controls in HTML (anchors & forms). It does this by making any element able to respond to any event by issuing any type of HTTP request and then placing the returned HTML anywhere (and in any manner) in the DOM. This last idea is called transclu…
This sort of sounds like turbolinks (or whatever it is called now)?
htmx is a bit more focused on one core concept, generalizing hypermedia controls, than hotwire.dev is, and is a little less magic. Both are fine choices for a hypermedia driven application.