Skip to main content

Recent Activity

Recent Heroes of the BenNadel.com Community

  • Zachary Spitzer 3 comments 🔥
    Posted 64 comments since December 11, 2008
  • Chris G ( frogquest.com ) 3 comments 🔥
    Posted 270 comments since October 23, 2012
  • Tom K 2 comments 😍
    Posted 10 comments since December 11, 2008
  • Peter ( somerman.com ) 2 comments 😍
    Posted 16 comments since March 3, 2009
  • Ken Auenson 1 comment 😍
    Posted 37 comments since December 11, 2008
  • Hugh 1 comment 😍
    Posted 9 comments since August 26, 2009
  • Vikrant Shitole 1 comment 😍
    Posted 9 comments since April 29, 2011
  • Ray V 1 comment 😍
    Posted 6 comments since October 29, 2012
  • Will Belden ( dwo.net ) 1 comment 😍
    Posted 50 comments since January 15, 2014
  • Brian 1 comment 😍
    Posted 4 comments since May 10, 2017
  • Marc 1 comment 😍
    Posted 2 comments since February 7, 2020
  • Mike Peters ( blog.ajabbi.com ) 1 comment 😍
    Posted 5 comments since September 13, 2023
  • Eric Searing 1 comment 😍
    Posted 1 comment since May 14, 2025

Recent Comments

Tom K replied to a post Using CSS Utility Classes In CFDocument In ColdFusion

@Ben We install it as part of our docker base image, then the app can just call via commandline (like wkhtmlpdf etc). It means you have to install some dependencies to get it working (especially from say an Alpine image) but we haven't needed to spin it out into it's own service yet. I just go so si... read entire comment from Tom K.

Chris G replied to a post Hypermedia Systems By Carson Gross

@Ben Nadel, Nice! My guess is that the idea of prefixes and suffixes is more to align with the CFW way of doing things. The form helpers are a prime example of this with all their prependToLabel etc. IDK. But as they say...there's more than one way to skin a cat. That's actually a pretty terrible sa... read entire comment from Chris G.

Ben Nadel replied to a post Hypermedia Systems By Carson Gross

@Chris, I took the concept and just tweaked it a little bit. I created a function called: <hOne> #withHeadTitle( "Details", user.name )# </hOne> (using "hOne" cause my spam filter is blocking the h1 for some reason). The first argument then gets echoed out, but the 2nd and 3rd optional arguments w... read entire comment from Ben Nadel.

Chris G replied to a post Hypermedia Systems By Carson Gross

@Ben Nadel, Ha! I've forgotten about that. I actually cannot take any credit for the approach. All I did was take Grant Copley's YM_Headliner, written for CFW 1.x and updated it to work with 2.x But I agree and what I love most about it is that I can use it as my H1 tag as well as my TITLE tag, maki... read entire comment from Chris G.

Ben Nadel replied to a post Hypermedia Systems By Carson Gross

@Chris, I just came across a CFWheels plug-in that you wrote: https://github.com/geirman/cfwheels-titletag-plugin I really like this approach. This is something (setting a title) that I've never felt like I had a nice approach for. I've generally been doing something like: // Local value for templat... read entire comment from Ben Nadel.

Peter replied to a post HTMX Extensions Have Access To An Extended API

Keep the HTMX Series going. I'd like to see your thoughts on HTMX and Pusher WebSocket. Ether as an extension of shim JavaScript code. I'd like to send template fragments down the WebSocket wire and have the fragment processed like it was "SWAP-OOB". I'm not sure Htmx is setup for that behavior, and... read entire comment from Peter.

Ben Nadel replied to a post Exploring Extensions In HTMX

So, it turns out that when the init() method is called, it's passed a reference to an API. At first, I thought this was just a convenience reference to the public api; but, this is not the case. The init() argument exposes a more extensive, qausi-private API for extension authors: https://www.bennad... read entire comment from Ben Nadel.

Ben Nadel replied to a post Using Alpine.js In HTMX

A quick follow-up to look at things from other perspective: mutating the DOM outside of the HTMX life-cycle; and then seeing if HTMX knows about it: https://www.bennadel.com/blog/4799-what-happens-when-you-mutate-the-dom-outside-of-htmx.htm tl;dr, htmx does not. You have to be careful when mutating ... read entire comment from Ben Nadel.

Ben Nadel replied to a post Exploring Extensions In HTMX

One point of clarity on which nodes get processed. While the extension can help HTMX identify which nodes are processed during the initialization of a DOM branch, all elements that get removed from the DOM (by HTMX) are "de-initialized." Which means that every element that HTMX removes receives, at ... read entire comment from Ben Nadel.

Mike Peters replied to a post ColdFusion And HTMX Contact App

Ben, I love the experimentation to see what works best with HTMX. I used HTMX in a "Ribbon" UI Component. It seemed to work oK, but I'm still learning. I have been using a home-built CF-driven static page generator that uses a database for the source since 2004. The biggest science reference website... read entire comment from Mike Peters.

Ben Nadel replied to a post ColdFusion And HTMX Contact App

@Bill, I tend to agree. I would prefer in-memory caching (in ColdFusion) before I'd worry about static content generation if performance is a major concern. One of the magical things about ColdFusion is how so much of it "just works": you create a CFM file, you deploy it, and viola - you have a dyna... read entire comment from Ben Nadel.

Ben Nadel replied to a post ColdFusion And HTMX Contact App

@Mike, I 100% feel your pain about reducing brittle UI. You're talking to someone who worked on a massive AngularJS application, only to see it end-of-life'd (AngularJS) leaving my application living on a non-maintained framework. One of the things that I like about HTMX and other frameworks in this... read entire comment from Ben Nadel.

Ben Nadel replied to a post ColdFusion And HTMX Contact App

@Chris, These are all great questions! And, to be honest, I don't have great answers for any of them :P Is this all necessary? It's so hard to say. Since this is already skewing more towards a traditional request-response, multi-page application architecture, and leans heavily on the ideas of "progr... read entire comment from Ben Nadel.

Bill Nourse replied to a post ColdFusion And HTMX Contact App

Hey Ben, Boy, that was a deep dive on HTMX, thanks for sharing. For me, I look at HTMX as a principle, rather than a Javascript library. It's knowing you can do things like dom changes, active search, and submitting form data simply using bits of vanilla Javascript. All without shipping tons of JS, ... read entire comment from Bill Nourse.

Mike Peters replied to a post ColdFusion And HTMX Contact App

Hypermedia Systems is an excellent book, Ben. The problem I am trying to solve is reducing brittle UI with dependencies on others and constant changes to libraries for large enterprise systems. The plan. Use a CF static file generator to render 90% of pages as static HTML, including parts of dynamic... read entire comment from Mike Peters.

Chris G replied to a post ColdFusion And HTMX Contact App

I love that you're delving into htmx as I've always been curious about it but haven't (yet) taken the time to do a deep dive myself. I'm not (yet) convinced I need it to be honest. It may be a solution looking for a problem, but I'm open (and interested) to learn along with you. When you delete the ... read entire comment from Chris G.

Ben Nadel replied to a post ColdFusion And HTMX Contact App

@Mike, If you haven't, you should take a look at the Hypermedia Systems book. You can read it for free online (or purchase a physical copy): https://hypermedia.systems/ It really walks through the mindset in a helpful way. I'm still very much just getting my feet wet here; there's a lot to think abo... read entire comment from Ben Nadel.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel