Skip to main content

Ben Nadel

Member since Dec 11, 2008

Recent Blog Comments By Ben Nadel

  • CF_SaveFile Custom Tag In ColdFusion

    Posted on Jul 2, 2025 at 10:33 PM

    @Gregory, Ha ha, great minds think alike I suppose 😉... read more »

  • Closures Do Not Work In Adobe ColdFusion Custom Tags

    Posted on Jul 2, 2025 at 11:59 AM

    I filed bug CF-4227145 in the Adobe Tracker.... read more »

  • Using ColdFusion Custom Tags And Modules In CFWheels

    Posted on Jul 1, 2025 at 3:33 PM

    re: CFSaveContent , that's part of what I'm trying to get around. Ideally, there are some UI elements that I'd like to put in a custom tag instead of a helper function, because I think it just lends well to that form-factor. But, I'm still very much exploring.... read more »

  • Using ColdFusion Custom Tags And Modules In CFWheels

    Posted on Jul 1, 2025 at 3:29 PM

    @Chris, Ha, yeah, I settled on helpers because it was kind of a thing in Wheels already - I thought it might reduce confusion 😜 but yeah, like I said I'm just making this up as a I go. I agree that something more explicitly "wheelsy" would be good, like injectWheelsFunctions(... read more »

  • Creating Service Objects In The CFWheels ColdFusion Framework

    Posted on Jun 30, 2025 at 7:36 PM

    @Chris, Very similar approaches - just a matter of timing mostly. I certainly have built my fair-share of applications that boot-up all the CFCs in the onApplicationStart() event, so that feels very familiar. I know that CFWheels 2.5 -> 3.x is going to be pretty big; but this is my fi... read more »

  • Movie Ranking With Sortable.js And Kendall Tau Distance

    Posted on Jun 29, 2025 at 3:06 PM

    @Chris, Here's what I came up with: https://www.bennadel.com/blog/4819-creating-service-objects-in-the-cfwheels-coldfusion-framework.htm In the end, it was just a few lines of code, really. Hopefully this is on the right track.... read more »

  • Movie Ranking With Sortable.js And Kendall Tau Distance

    Posted on Jun 25, 2025 at 7:27 PM

    @Chris, I actually work for Peter Amiri right now :D re: Services, I was thinking about creating a global helper function called service() that would essentially look up a table-less model class, but prefix it with an implicit folder name. Basically, instead of doing: model( &quo... read more »

  • Movie Ranking With Sortable.js And Kendall Tau Distance

    Posted on Jun 23, 2025 at 8:19 PM

    @Chris, How dare you! 😆 as far as Phoenix - it seems pretty solid. This is my first Boostrap project, though, at a new job, in a new business sector, with a new ColdFusion framework. I feel like I'm drinking from 8 fire hoses at once! 🔥 It would actually be great to pick your brain about... read more »

  • My Adobe ColdFusion 2025 Hackathon Entry

    Posted on Jun 23, 2025 at 8:13 PM

    @All, I'm excited to announce that I came in 2nd place in the ACF 2025 Hackathon - Mark Takata announced it on LinkedIn . Woot woot! Can't wait to see the other contestant code - will share a link here when I know what it is. @Jeff, All good - any 555 number in the US is "fake&... read more »

  • Ask Ben: Destructuring Complex Queries Into ColdFusion Objects

    Posted on Jun 21, 2025 at 10:51 AM

    @Brendan, Ummmm, because I completely forgot that the group attribute works on the cfloop tag 🤪 Just did a little Google search and apparently I wrote about it back in 2012 : https://www.bennadel.com/blog/2359-coldfusion-10-using-the-group-attribute-with-cfloop-to-group-query-r... read more »

  • Encoding "FFFFFFFF" Into An INT In Adobe ColdFusion

    Posted on Jun 18, 2025 at 1:19 PM

    @Chris, No problem! Glad that it was still in the logs (I'm on the BugSnag free tier, so not sure how long that data sticks around).... read more »

  • Rendering QR Codes With Zxing And ColdFusion

    Posted on Jun 18, 2025 at 11:54 AM

    @All, As a quick follow-up, I had written this code in Lucee CFML and it works as is. But, over the weekend, while working on my Adobe ColdFusion 2025 hackathon, I went to generate a QR code, and it broke. Turns out, ACF doesn't like stuffing FF____ into a Java signed int . As such, I h... read more »

  • Using InputBaseN() To Encode HEX Colors Into An INT In ColdFusion

    Posted on Jun 18, 2025 at 11:42 AM

    @Danilo, That's a really interesting question. And, on point for something I was thinking about over the weekend. When I was working on my ACF 2025 hackathon project, one thing I did was generate a QR Code. And, I used the ColdFusion logo colors as the on/off colors of the QR Code. But, th... read more »

  • Using InputBaseN() To Encode HEX Colors Into An INT In ColdFusion

    Posted on Jun 18, 2025 at 11:18 AM

    @All, As an update, this code actually breaks in Adobe ColdFusion (ACF). For reasons that I don't fully understand, Lucee CFML seems to be able to cast ffffffff to an int , but ACF cannot. At least not without using the "two's complement" approach. I've outlined that here: ... read more »

  • Ask Ben: Destructuring Complex Queries Into ColdFusion Objects

    Posted on Jun 12, 2025 at 4:03 PM

    @Peter, Ha ha, it's all connected. The whole .normalizeQuery() concept (the bulk of this post) was directly inspired by the fact that CFWheels ORM can bring back nested objects from the database. I still haven't really dove into the SQL-generation level under the hood - but, I have to im... read more »

  • Light-Weight DumpModel() Function For CFWheels In ColdFusion

    Posted on Jun 12, 2025 at 12:39 PM

    @Will, Hundo-p, I almost never care about functions. Historically, it's never been a real issue for me since I've never worked with an ORM before, so all of my "things" have just been Structs / Queries. This is the first time I've had a data-access layer return CFCs. The fact tha... read more »

  • Image Paste Bug In Lucee CFML

    Posted on Jun 11, 2025 at 1:39 PM

    @Zac, Good catch on the duplicate() - that will be good to know going forward.... read more »

  • Ask Ben: Destructuring Complex Queries Into ColdFusion Objects

    Posted on Jun 11, 2025 at 11:10 AM

    @Robin, Always a pleasure - I appreciate letting me go down a rabbit hole on this one 😆 And, for the readers' benefit, I just wanted to mention that you had come up with a MSSQL Server STRING_AGG() solution on your end. Which, I think is the equivalent of GROUP_CONCAT() in the MySQL... read more »

  • Rendering QR Codes With Zxing And ColdFusion

    Posted on Jun 11, 2025 at 11:06 AM

    As an aside, at the end I had mentioned a BufferedImage bug in Lucee CFML - turns out, it's more of an imagePaste() bug. I isolated the case for Zac Spitzer: https://www.bennadel.com/blog/4811-image-paste-bug-in-lucee-cfml.htm... read more »

  • ColdFusion: Comparison Method Violates Its General Contract

    Posted on Jun 9, 2025 at 3:12 PM

    @Pete, Awww yeah! It takes a village :)... read more »

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