Lazarus

hx-pod

Join me while I learn about web fundamentals and talk at you about itTwitter: @all__hype

Vizitează neapărat site-ul podcastului și susține-i creatorul: twitter.com

Autor

Lazarus

Categorie

Technology

Site-ul podcastului

twitter.com

Cel mai nou episod

28.10.2026

Unde asculți?

Podcasturi în aplicație Replaio Radio În curând

Podcasturile ajung în curând în aplicație. Instaleaz-o acum și fii primul care descoperă o abordare complet nouă a podcasturilor

Descarcă din Google Play Instalează gratuit Android 10 mil.+ descărcări · nota 4,7+ iOS în curând

Episoade

Htmx headers: Season 3 Recap 13.06.2024

"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

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

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

{ "HX-Reselect": "#one-div-inside-html" }

Is optimistic UI the "final boss" of htmx? (and livewire, unpoly, liveview, hotwire, etc) 31.05.2024

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

{ "HX-Retarget": "#my-special-target" }

Htmx response headers: HX-Reswap 24.05.2024

Override your "hx-swap=" attribute.  Correct your hx-swap mistake! Do it now!!!

Htmx response headers: HX-Refresh 21.05.2024

{ "HX-Refresh": "true" }

Htmx response headers: HX-Push-Url and HX-Replace-Url 17.05.2024

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

Speaking with a prolific developer who recently switched from React to htmx

Htmx response headers: HX-Location and HX-Redirect 14.05.2024

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

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

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

A case for taking the extra steps. It's a good thing

Htmx request headers: HX-Prompt 03.05.2024

hx-prompt="what's your favorite size turtle?" Request Headers: Hx-Prompt: small

Htmx request headers: Hx-Boosted 02.05.2024

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

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

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

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

We're (Me're) 43 episodes in. What's next?

Wordpress and htmx: A conversation with developer Andrew Rhyand 15.04.2024

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

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

Reddit thread with an example: https://www.reddit.com/r/htmx/comments/1bukz76/hxselect_reset/

Advanced htmx: hx-history-elt 05.04.2024

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

This one might actually be essential, not just an advanced attribute. Keeps you and your users from accidentally submitting things multiple times.

Ascultă podcastul hx-pod în Replaio

Radio și podcasturi într-o singură aplicație - gratuit și fără înregistrare. Instaleaz-o azi și nu rata lansarea

Descarcă din Google Play

Replaio nu este editorul podcasturilor; numele emisiunilor, coperțile și materialul audio aparțin autorilor lor și sunt distribuite prin fluxuri RSS publice