Adobe CF2021 and above has changed the output of the mask “D” in the DateFormat and DateTimeFormat functions. Although this is not new, I found the Adobe documentation unclear on how to fix that for backwards compatibility.
This CommandBox Command will help you create local OSGi versions of your JARs to avoid class path conflicts in Java. You can use it to convert either a single file or an entire folder.
My first ForgeBox ColdBox module manages the Lucee server admin scheduled tasks through a responsive Bootstrap 4 front-end UI.
Using NewRelic’s Java Agent API I was able to log custom user metrics to their system and then query it using NRQL for creating dashboards.
AppDynamics allows the addition of custom user metrics to their stored analytics through Java, so it’s easy to implement that functionality in ColdFusion.
Restaurants in the UK keep all or most of the waiters’ tips. Stop the practice by asking to have the service charge removed from the bill and tip in cash.
QB tries to automatically figure out what ColdFusion SQL type to use for updates and inserts based on the actual value that is passed in for each column. Although that works for most of the cases, I ran into an issue where my value type was being wrongly inferred so I needed to figure out how to override it.
Making use of the preQBExecute() and postQBExecute() QB interception points I can capture the actual SQL getting generated and running against my database.
Although CommandBox ColdFusion instances run for just the duration of your OS session and for only one user by default, I use the Non Sucking Service Manager (NSSM) module through a Task Runner to create a Windows Service to run things under it, making the app available to everyone and persistent over OS reboots.
Using Homebrew makes it generally very easy to upgrade CommandBox on a Mac, albeit with some possible gotchas.