All Episodes

Displaying 91 - 120 of 123 in total

Advanced htmx: hx-history

What if you don't want your page kept into the browser history local storage?

What is htmx good for?

This is a somewhat open thought process looking at the question I see online: what is htmx good for?Mentioned in the episode: the htmx movies example from Andrew Rhyan...

Advanced htmx: hx-validate

Your browser has built in types and validation on inputs in a form. But what happens when you use inputs without a form??Note: I accidentally posted an incomplete epis...

A conversation with the CEO of htmx

Advanced htmx: hx-headers

Every request has secret hidden headers. But what if you wanted to make your own?https://htmx.org/attributes/hx-headers/

Celebrate your little victories

When you make your life easier, that's a win.

Advanced htmx: hx-sync

Having any weird async ajax request issues? htmx got yer back 🤜 🤛

Advanced htmx: hx-push-url and hx-replace-url

Push your ajax route to the url bar! Now you've got access to the back button again... but what happens when you refresh?Work with the browser history on any htmx requ...

Brain-coding an htmx to-do app V2 - NO MUSIC

Per listener request: Same episode as last, but without the soundtrack!Keeping the other up for posterity's sake.

Brain-coding an htmx to-do app

Every developer should have their own custom to-do app. Join me for my journey building this simple app in my head using htmx

The basics: Season 1 recap, grouping the attributes

Every attribute so far and where they fit together.

The basics: hx-select

What if.. you wanted just a part of the html from the response?In a perfect world, you could just use a simple css selector to get only what you need and filter everyt...

A conversation with chat gpt, aka the htmx shillbot 2000

NOTE: This is some Star Trek computer shit. You gotta hear it to believe it BIG interview today.We delve into where htmx fits in the broader dev world, how we might bu...

The basics: hx-preserve

Updating a chunk of the DOM is easy --  but what if you wanted to leave one element alone?Content preservedContent will NOT be swapped out in the request, as long as t...

The basics: hx-indicator and the special htmx loading classes

Do you ever want to let the user know you are loading something?Of course you do. Just add the htmx-indicator class to any element (loading div, svg, gif), and the par...

The basics: hx-params

ok, you are submitting a form.. but what if you don't want to submit the whole thing?Use what only i call "the mysql selector of htmx"hx-params="first_name, last_name,...

The basics: hx-vals

How do you feel about setting your request values right there inline?STATIC   Click for weather in one static locationDYNAMIC   Click for weather in one static locatio...

Bonus: The Single Source of Truth

Your built-in advantage of building html on the server: everything important is already there.Here are the two server/client mental model discussions referenced in the...

The basics: hx-boost

How can you change your entire site to be faster and snappier with just one attribute?How can you recreate the entire libraries of turbolinks and pjax in a single line...

Bonus: HOWL (Hypermedia On Whatever you'd Like)

Or, "How I learned to stop worrying and stack this stack on all other stacks."Essay on HOWL from htmx.org:https://htmx.org/essays/hypermedia-on-whatever-youd-like/

The basics: hx-on (htmx 1.x -> 2.0)

ALERT ALERT hx-on is changing tomorrow!...sort of1->2 guide:https://v2-0v2-0.htmx.org/migration-guide-htmx-1/hx-on attribute:https://htmx.org/attributes/hx-on/

The basics: hx-confirm

What, you're too good for a regular javascript confirmation?Finehttps://htmx.org/examples/confirm/

Bonus: htmx and gatekeeping

Who gatekeeps the Gatekeepers? the coast guard?Thank you to rick @maverism for tweeting out the podcast!

The basics: hx-put, hx-patch, and hx-delete

What on earth are PUT PATCH and DELETE and why would I use them instead of POST?Well, which do you like better?A) B)

Bonus: A real-world example of using hx-swap-oob

How to load a bunch of links to the after the page loads and place them anywhere you want with hx-swap-oobOn site:In response:Placement 1 text and linkPlacement 2 text...

The basics: hx-swap-oob

This is a new idea: let your response decide its own target(s)! Updated htmlMore updated html elsewhere on the page

The basics: hx-include

Uh oh. Your inputs are outside a tag, what's to be done?

The basics: hx-post

Want to use POST requests in ajax, and submit forms from anywhere on the page?As promised in the episode, here are three ways to set up your CSRF token headers:1. Like...

The basics: hx-swap

You got your data back and your target, now where does it fit?

Trailer: The premise of this podcast is that you people are sick

Is this really learning? It might be.

Broadcast by