An Auto-Update Partial Updater with Alpine.js and HTMX
So in what's becoming a series, in a work project I wanted to add the ability for a partial to auto-update on a given timescale.
Here's how I did it using Alpine.js and HTMX.
Requirements
So I wanted...
Wednesday, 23 April 2025 19:30
//
7 minute read
Using SweetAlert2 for HTMX Loading indicators (hx-indicator)
On a work project I've been using and abusing HTMX to build an admin UI. As part of this I'm using the lovely SweetAlert2 Javascript library for my confirmation dialogs. It works great but I also...
Monday, 21 April 2025 20:05
//
13 minute read
Simple Search Using HTMX & EF Core for ASP.NET Core
This is just a quick article as it builds on the others in the full text search series such as the typeahead dropdown and Postgres full text search.
In this post, I will show you how to implement a...
Tuesday, 17 September 2024 17:36
//
9 minute read
A Smarter Search Dropdown with HTMX
In a previous post I showed you how to create a search dropdown using Alpine.js and HTMX then I showed how we could enable Cross-Site Request Forgery protection using the AntiforgeryRequestToken in...
Monday, 16 September 2024 22:30
//
5 minute read
Simple 'Donut Hole' Caching with HTMX
Donut hole caching can be a useful technique where you want to cache certain elements of a page but not all. However it can be tricky to implement. In this post I will show you how to implement a...
Thursday, 12 September 2024 16:00
//
4 minute read
Adding a Comment System Part 2 - Saving Comments
In the previous part in this series, I set up the database for the comments system. In this post, I'll cover how saving the comments are managed client side and in ASP.NET Core.
Add New...
Saturday, 31 August 2024 09:00
//
5 minute read