Lazarus
hx-pod
Join me while I learn about web fundamentals and talk at you about itTwitter: @all__hype
Besuch unbedingt die Website des Podcasts und unterstütze die Macher: twitter.com
Wo hören?
Podcasts in der App Replaio Radio Bald verfügbarPodcasts kommen bald in die App. Installiere sie jetzt und erlebe als Erster einen ganz neuen Blick auf Podcasts
Folgen
Htmx headers: Season 3 Recap 13.06.2024 11:10
"We've done them all now" All headers grouped ===========> REQUEST HEADERS ======> Flags *HX-Boosted - was it a boosted link *HX-Request - is it an htmx request *HX-History-Restore-Request - is it a back button restore request ======> Auto-sent variables *HX-Current-URL - current url page is at *HX-Target - id of target if has id *HX-Trigger-Name - which element triggered it by name *HX-T...
I went to Big Sky Dev Con 2024 so you don’t have to 09.06.2024 54:08
i went to #BSDC2024 (not an htmx con) so you don't have to. here's my own recap of all the talks Every talk is available to watch at: https://bigskydevcon.com 1:26 - The htmx guide to gonzo open source marketing by Carson Gross 8:23 - The Life & Death of HTMX by Alex Petros 13:29 - Hypermedia Middleware: Introducing Walrus by Ben Damman 17:14 - htmx sucks and now you're gonna hear about it (M...
Htmx response headers: HX-Trigger, HX-Trigger-After-Swap, HX-Trigger-After-Settle 05.06.2024 10:58
Use this response header to send event trigers to ANY client side browser event (javascript, htmx, custom, etc) HX-Trigger - as soon as response received HX-Trigger-After-Swap - after new html is swapped in HX-Trigger-After-Settle - after new html is settled and processed by browser single event HX-Trigger:event multiple events HX-Trigger:event1, event2 single event with value HX-Trigger:{“event1...
Htmx response headers: HX-Reselect 03.06.2024 4:36
{ "HX-Reselect": "#one-div-inside-html" }
Is optimistic UI the "final boss" of htmx? (and livewire, unpoly, liveview, hotwire, etc) 31.05.2024 30:46
This episode explores what an optimistic ui might look like in htmx. Also: is it what we want to do? Is it even possible? Or is it incompatible with the idea of having the dom as the true application state? Original tweet: https://x.com/noahflk/status/1795758603577545035 DHH responses: https://x.com/dhh/status/1796163806650868149 Htmx guy responses: https://x.com/htmx_org/status/17961825548835392...
Htmx response headers: HX-Retarget 29.05.2024 5:35
{ "HX-Retarget": "#my-special-target" }
Htmx response headers: HX-Reswap 24.05.2024 4:30
Override your "hx-swap=" attribute. Correct your hx-swap mistake! Do it now!!!
Htmx response headers: HX-Refresh 21.05.2024 2:51
{ "HX-Refresh": "true" }
Htmx response headers: HX-Push-Url and HX-Replace-Url 17.05.2024 7:38
Decide from your server side what url the user sees! https://htmx.org/headers/hx-push-url
A conversation with Tom from Reddit: Building production apps using htmx 16.05.2024 36:22
Speaking with a prolific developer who recently switched from React to htmx
Htmx response headers: HX-Location and HX-Redirect 14.05.2024 7:46
Redirect your users to a new page from your back-end server in SPA-mode (no refresh for them) https://htmx.org/headers/hx-location/
Htmx request headers: HX-History-Restore-Request 10.05.2024 8:48
This header is to make sure your system loads the full page when 1) You are suing hx-push-url to work with the url bar 2) Users click the back button. 3) The full page cached history snapshot isn't there Useful links mentioned: https://github.com/bigskysoftware/htmx/issues/497 https://htmx.org/docs/#history
Htmx request headers: Hx-Current-URL 08.05.2024 4:35
The htmx request header that tells you EXACTLY where the user is making the request from The full url string with all ids and params
Stop taking shortcuts 05.05.2024 12:10
A case for taking the extra steps. It's a good thing
Htmx request headers: HX-Prompt 03.05.2024 6:09
hx-prompt="what's your favorite size turtle?" Request Headers: Hx-Prompt: small
Htmx request headers: Hx-Boosted 02.05.2024 5:19
How can your server tell if its a regular link click or an hx-boost SPA-mode link click?? I'll tell you everything about it in these 5 minutes!
Htmx request headers: Hx-Target 01.05.2024 4:27
Let's your server know what the id is of the hx-target! You need 2 things to send this request header: 1. Use the attribute: hx-target="some_id" 2. Use a DOM id as the target: some_id needs to be an id, not another css selector
Htmx request headers: Hx-Trigger and Hx-Trigger-Name 26.04.2024 6:26
You can use these headers to conditionally branch your response based on *which element* the request was triggered from example of format: Request Headers: Hx-Trigger: search_input Hx-Trigger-Name: search
Htmx request headers: Hx-Request 23.04.2024 6:11
An example in the wild: The Laravel blade documentation: https://laravel.com/docs/11.x/blade#rendering-blade-fragments
What's next on the podcast? 21.04.2024 7:26
We're (Me're) 43 episodes in. What's next?
Wordpress and htmx: A conversation with developer Andrew Rhyand 15.04.2024 49:24
We talk integrating htmx with Wordpress! Andrew Rhyand https://andrewrhyand.com/ Mentioned links: HTMX movies demo: (very slick & educational) https://htmx.andrewrhyand.com/ Author of the Wordpress/Inertia Adapter: https://github.com/boxybird/inertia-wordpress Alpine/Livewire in Wordpress: https://github.com/boxybird/morph
Advanced htmx: Season 2 recap, grouping the 13 advanced attributes 12.04.2024 20:04
Advanced htmx: Recap & grouping each of the 13 advanced attributes we went over this "season" This means we have now gone through every attribute! (not counting extensions) 1. Browser & History Hx-push-url - set your url Hx-replace-url - replace your url, save no snapshot Hx-history-elt - change snapshot from default to particular element Hx-history - prevent something from being saved in...
Advanced htmx: hx-disinherit 09.04.2024 8:21
Reddit thread with an example: https://www.reddit.com/r/htmx/comments/1bukz76/hxselect_reset/
Advanced htmx: hx-history-elt 05.04.2024 6:38
What if you wanted a part of your site to persist even using the back and forward on your browser? Here is the reddit thread I mention in the episode, with an example: https://www.reddit.com/r/htmx/comments/1bu14sg/how_to_make_a_audio_player_that_survives_the_back/
Advanced htmx: hx-disabled-elt 03.04.2024 3:01
This one might actually be essential, not just an advanced attribute. Keeps you and your users from accidentally submitting things multiple times.
Ähnliche Podcasts
Replaio ist kein Herausgeber von Podcasts; die Namen der Sendungen, Cover und Audioinhalte gehören ihren Autoren und werden über öffentliche RSS-Feeds verbreitet