Data Grids CF Overflow Follow Us! RSS |
ColdFusion Posts Around the World.

PHP / Symfony: working through "Symfony: The Fast Track", part 5: Twig stuff, and irritation
Adam Cameron's Dev Blog
G'day: I'm back on the case working through "Symfony: The Fast Track". This will be part ...
CFML: Into the Box 2023
Adam Cameron's Dev Blog
Howdy partner: Well here's something interesting (well: to me, anyhow). I will be attending thePosted on: 04/17/2023 12:10:00 PM

Getting Windows Terminal to open my Ubuntu Bash session in the right directory
Adam Cameron's Dev Blog
G'day: This is a follow on from the previous two articles:Posted on: 04/11/2023 01:14:00 PM

Changing my WSL Bash prompt to include my current Git branch
Adam Cameron's Dev Blog
G'day: Note: there's no real original research / thinking in this. it's just the result of me googling stuff, and arriving at a result. I'm writ...
Changing where I home my source code dramatically speeds up my Windows / WSL2 / Docker environment
Adam Cameron's Dev Blog
G'day: This is more an admission of "not initially thinking things through" on my part, but the outcome has helped me a lot, so in case there ar...
PHP / Symfony: working through "Symfony: The Fast Track", part 4: not really about Symfony, this one
Adam Cameron's Dev Blog
G'day: Once again I'm gonna continue working through "Symfony: The Fast Track". This will...
PHP / Symfony: working through "Symfony: The Fast Track", part 3: doing some ORM / DB config
Adam Cameron's Dev Blog
G'day: Today I'm gonna continue working through "Symfony: The Fast Track". This will be p...
Symfony / Doctrine / DBAL: convincing/configuring it to use a PrimaryReadReplicaConnection connection
Adam Cameron's Dev Blog
G'day: A while back I documented how to create/configure aPosted on: 04/01/2023 06:19:00 PM

PHP / Symfony: working through "Symfony: The Fast Track", part 2: creating a controller (eventually)
Adam Cameron's Dev Blog
G'day: Sit. rep. OK so last time (PHP / Symfony: ...
PHP / Symfony: working through "Symfony: The Fast Track", part 1: preparation and pre-requisites (and not actually any Symfony!)
Adam Cameron's Dev Blog
G'day: This new PHP app we're shifting in at work is gonna be running Symfony. The other bods on the dev team have been working through "
CFML / TestBox: spying on a method without mocking it
Adam Cameron's Dev Blog
G'day: Whilst looking for something else, I came across a ticket in TestBox's Jira system the other day that I had voted for a while back:
FAO ColdFusion users: you need to address a critical vuln in your system
Adam Cameron's Dev Blog
G'day: Just in case you happen to read this blog, but not Charlie Arehart's one, pls go over to his blog and read his article "Posted on: 03/17/2023 01:09:00 PM

PHP / PHPUnit / TDD: unit testing abstract classes. Or not.
Adam Cameron's Dev Blog
G'day: One of my colleagues at work asked me about this, but it's a good topic to think about, so am gonna write about it here. The questi...
CFML: ColdFusion 2023 is in public beta now
Adam Cameron's Dev Blog
G'day: As posted in the CFML Slack channel by Adobe ColdFusion star, Mark Takata, CF2023 is in public beta now. One can sign up for it here:
TIL: something new about regex processing that made me feel dumb
Adam Cameron's Dev Blog
G'day: I like to think I'm reasonably confident with my regex usage, indeed have in the past written at length on regex implementation and usage ...
PHP: looking at spatie/async some more
Adam Cameron's Dev Blog
G'day: I'm getting back to this spatie/async library today (see "Posted on: 02/19/2023 10:50:00 PM

ColdFusion: bug in runAsync
Adam Cameron's Dev Blog
G'day: In my article yesterday ("CFML: runAsync doesn't seem ve...
Lucee bug surfaced by CFWheels's "architecture"
Adam Cameron's Dev Blog
G'day: Well here's a fine use of my frickin time. Lucee's released a new "stable" version and we're being encouraged to use it. Today I up...
CFML: runAsync doesn't seem very asynchronous on Lucee
Adam Cameron's Dev Blog
G'day: I was wanting to compare how other languages dealt with the promise-style async processing, as I was not completely convinced by what I wa...
PHP: I need another two devs
Adam Cameron's Dev Blog
G'day: I'm revisiting an article I posted in December, fishing for a coupla devs:Posted on: 02/15/2023 03:47:00 PM

PHP: looking at spatie/async
Adam Cameron's Dev Blog
G'day: For no good reason at all, other than it piquing my interest, I've decided to mess around with
Ugh. PHPUnit and dealing with deprecation notices
Adam Cameron's Dev Blog
G'day: Today's plan I sat down to write an article and some code using the spa...
PHP / Doctrine/DBAL: adding a logger to an connection
Adam Cameron's Dev Blog
G'day: There's plenty of stuff online about how to do this the old deprecated way, but I couldn't find any example of how to do it the "current" ...
PHP 8: a quick look at enums
Adam Cameron's Dev Blog
G'day: Whilst working on my recent code implemneting a postcode look-up ...
PHP: refactoring logic out of a controller and into a service class
Adam Cameron's Dev Blog
G'day: Context In yesterday's article - TDD &...
TDD & Symfony & Monolog: adding some logging to that endpoint from last time
Adam Cameron's Dev Blog
G'day: Hopefully this one is shorter than the previous monster (Posted on: 01/31/2023 09:10:00 PM

TDD & Symfony: creating a small web service end point
Adam Cameron's Dev Blog
G'day: Background I have a real-world requirement to get a small web service written: one that wraps up calls to thePosted on: 01/29/2023 10:04:00 PM

Symfony: getting rid of App namespace and using a well-formed one
Adam Cameron's Dev Blog
G'day: This is a quick follow-on from the previous article, "Posted on: 01/24/2023 08:50:00 AM

Symfony: installing in my PHP8 container (for a second time, as it turns out)
Adam Cameron's Dev Blog
G'day: First up, I've messed around in the last coupla articles setting up some PHP8.2 containers (Posted on: 01/24/2023 07:31:00 AM

Docker: adding a MariaDB container to my PHP & Nginx ones
Adam Cameron's Dev Blog
G'day: I'm pretty much just noting down how I've progressed my PHP8 test app in this one (seePosted on: 01/22/2023 10:31:00 PM

PHP: looking at ways of making HTTP requests
Adam Cameron's Dev Blog
G'day: I'm reacquainting myself with PHP, and part of this process is chucking some tests together to demonstrate to myself how bits and pieces o...
PHP: returning to PHP and setting up a PHP8 dev environment
Adam Cameron's Dev Blog
G'day: I need to do some PHP work, and for that I need to have a PHP dev environment. I'm very rusty when it comes to PHP - I've not touched it f...
PHP: PrimaryReadReplicaConnection - configuration / usage example
Adam Cameron's Dev Blog
G'day: I've been dusting off my out-of-date PHP skills (such as they are), and I had a right arse of a time finding any documentation for Primary...
I need another two devs
Adam Cameron's Dev Blog
G'day: I've previously posted similar offerings: Work with me ...
Off-topic / no technical content: I have a dilemma
Adam Cameron's Dev Blog
G'day: This is off-topic and has no technical content to it at all. It is about a personal situation I have. This is the only place I have to pos
Kotlin: more operator overloading
Adam Cameron's Dev Blog
G'day: The Kotlin koans are still focusing on operator overloading, so so am I. Previously (
Kotlin: ranges
Adam Cameron's Dev Blog
G'day: Yet another example of me starting a Kotlin koans exercise, seeing the first interesting word in the koans task description and getting lo
CFML: AND and OR operators not doing what one might expect
Adam Cameron's Dev Blog
G'day: A question came up on the CFML Slack forums today about some "unexpected behaviour" with ColdFusion's and operator. Here's an
Kotlin: overriding operators
Adam Cameron's Dev Blog
G'day: Apologies in advance if this article is a bit rubbish. I'm not really "feeling it" today with the writing, but I need to crack on with the
Monumental cock
Adam Cameron's Dev Blog
G'day: Because Elon Musk is a monumental cock that no-one at all should be encouraging (other than to fuck off to Mars on one of his rocketships,
CFML: addressing confusion around arrays returned from Java methods and using them with CFML code
Adam Cameron's Dev Blog
G'day: This has come up often enough that it's probably worth having something clear and googleable around for people to find when this crops up
Kotlin: more koans, more random investigation
Adam Cameron's Dev Blog
G'day: I started doing the Kotlin koans a while back, and discuss my meagre progress in these articles:
Kotlin / Ktor: G'day world from a Docker container
Adam Cameron's Dev Blog
G'day: Not sure what this article is going to end up being about. However I am hovering over the "New Project" button in IntelliJ, and am gonna a
Kotlin: looking at delegated properties
Adam Cameron's Dev Blog
G'day: In my "Kotlin/Gradle: abstracting versions into
Kotlin / JUnit5: making a test conditional based on a custom condition
Adam Cameron's Dev Blog
G'day: I sat down to continue my "next" blog article, which will be about delegated properties in Kotlin (will cross link here once it's done), a
Kotlin / TDD: using JetBrains/Exposed to read from the DB
Adam Cameron's Dev Blog
G'day: Earlier today I wrote "Kotlin / TDD: writing the
Kotlin / TDD: writing the tests for a small web service
Adam Cameron's Dev Blog
G'day: One of my tasks @ work is to check out how to test a web service. I started with this yesterday's article:
TDD: are tests that just "measure twice, cut once" legit?
Adam Cameron's Dev Blog
G'day: There's a bit of archaeology going on here: I started writing this in Jan 2022, but never got past the first para.
Kotlin/Gradle: abstracting versions into a config file, and wondering what delegated properties are
Adam Cameron's Dev Blog
G'day: Currently I have just been following the instructions fairly slavishly when it comes to my dependency management in my application. If som
Kotlin: getting the khttp library installed and running... then... getting rid of it and using something else
Adam Cameron's Dev Blog
G'day: So 50% of this was a largely fruitless exercise in the end. Other than the fact that I learned some stuff that I think is worth k
Kotlin: Data classes & componentN methods
Adam Cameron's Dev Blog
G'day: I needed to use a "data class" in my article last night ("
Data-driven tests in JUnit and Kotest (and starting with TestBox & PHPUnit)
Adam Cameron's Dev Blog
G'day: One thing I did not look at in any of my examinations of Kotest,
DRY: don't repeat yourself
Adam Cameron's Dev Blog
G'day: This should be a short one. I've had this text lying around for a while, wondering if I could spin it out to be a longer article somehow,
Kotlin: looking at JUnit instead of Kotest
Adam Cameron's Dev Blog
G'day: In the rest of my Kotlin articles thusfar I've been using
Kotlin: abstract classes, backing fields/properties, lateinit, and frustration
Adam Cameron's Dev Blog
G'day: I'm just continuing on in the Kotlin "Classes" docs, carrying on from my earlier article "
CFWheels: a recommendation for their dev team
Adam Cameron's Dev Blog
G'day I'm going to pass this on to the CFWheels Dev Team, but it's applicable in anyone's code, so posting it here first. A lot of t
Kotlin: investigating classes
Adam Cameron's Dev Blog
G'day: In my other random explorations of the Kotlin language, I've already used si
Kotlin: scope functions (mostly)
Adam Cameron's Dev Blog
G'day: More Kotlin learning/investigation, following on from these other Kotlin article
CFML: working MySQL datasource in Application.cfc (this is just a note-to-self/Google)
Adam Cameron's Dev Blog
G'day: No content in this one, I just want something I can find when I search for how to config a MySQL datasource in Application.cfc in ColdFusi
Kotlin: looking at Numbers, more Kotest stuff, and something about "function literals with receivers"?
Adam Cameron's Dev Blog
G'day: Here's some new unguided Kotlin experimentation, following on from other similar
Kotlin: another Friday afternoon, another round of random investigation
Adam Cameron's Dev Blog
G'day: Because no-one has specifically screams "FFS stop it, Cameron", I'm gonna continue with another random Kotlin noobie investigation / brain
CFML: speaking of application scope proxies
Adam Cameron's Dev Blog
G'day: OK so you probably weren't talking about application scope proxies, but I was in my previous article:
CFML: looking at how CFWheels messes up a loop
Adam Cameron's Dev Blog
G'day: This exercise came about from a bug in CFWheels we encountered today. We got a notification that a user had received a 500-error, a
Examining how ProxySQL works
Adam Cameron's Dev Blog
G'day: I needed to have a mess around with ProxySQL today. I knocked together a quick Github
Kotlin: there's no such thing as static, apparently
Adam Cameron's Dev Blog
G'day: Whilst writing today's previous article ("CFML: inv
CFML: invokeImplicitAccessor on CFCs
Adam Cameron's Dev Blog
G'day: I noticed this yesterday when I was writing my "Kot
Kotlin: the next morning learning Kotlin stuff
Adam Cameron's Dev Blog
G'day: Whether you like it or not, I'm just gonna continue on from yesterday's random effort:
Kotlin: an afternoon learning Kotlin stuff
Adam Cameron's Dev Blog
G'day: This is going to be another fairly stream-of-consciousness effort, much like my earlier "
CFML: outputting text from within inline Java in CFML
Adam Cameron's Dev Blog
G'day: I saw an odd question today. Me mate Ray was messing around with the
CFML: testing applicationStop behaviour. Again.
Adam Cameron's Dev Blog
G'day: As the title suggests, I've done this before: Invest
Kotlin / Gradle / Kotest random exploration
Adam Cameron's Dev Blog
G'day: I am currently wondering whether this one will ever see light-of-day. It's very much what it says on the tin: I've been messing with my Ko
Kotlin: creating a project and getting some code (and tests) to run
Adam Cameron's Dev Blog
G'day This whole thing is gonna be a cross between a note-to-self and a pseudo-stream-of-consciousness as I set up a new Kotlin project in Intell
Work with me here - revisited ...again
Adam Cameron's Dev Blog
G'day: I've done this twice before: Work with me here
JS: Server-sent events
Adam Cameron's Dev Blog
G'day: Yes, it's very odd for me to have something to say about JS stuff. I don't imagine there's anything new here for people that actually do J
Lucee: Creating a log file programmatically
Adam Cameron's Dev Blog
G'day: This will be super short as there's not much to say, I just want to note the code down for posterity, and to cross-reference elsewhere.
CFML: Implementing an ObservableScopeAdapter using the Adapter Pattern, Decorator Pattern and Observer Pattern
Adam Cameron's Dev Blog
G'day: In my last article (A super-quick Observer Pattern
A super-quick Observer Pattern implementation in CFML, and I skip TDD. Or do I?
Adam Cameron's Dev Blog
G'day: There's a possible "Betteridge's law of headlines<
CFML: Filler article with code but no TDD at all
Adam Cameron's Dev Blog
G'day: I'm still working on the TinyTestFramework though: some
Why I'm doing this TinyTestFramework exercise
Adam Cameron's Dev Blog
G'day: I have listened to both Modernize or Die® and
If yer a CFML dev, you should consider financially supporting trycf.com
Adam Cameron's Dev Blog
G'day: I'll keep this on-point today. If you are a CFML developer, you will be aware and likely use
CFML: fixing a coupla bugs in my recent work on TinyTestFramework
Adam Cameron's Dev Blog
G'day: Last week I did some more work on my TinyTestFramework:
CFML: adding aroundEach to TinyTestFramework was way easier than I expected
Adam Cameron's Dev Blog
G'day: I'm still pottering around with my TinyTestFramework. Last night
CFML: for the sake of completeness, here's the afterEach treatment
Adam Cameron's Dev Blog
G'day: This immediately follows on from "CFML: Adding be
CFML: Adding beforeEach handlers to my TinyTestFramework. Another exercise in TDD
Adam Cameron's Dev Blog
G'day: I have to admit I'm not sure where I'm going with this one yet. I dunno how to implement what I'm needing to do, but I'm gonna start with
Running CFML code on trycf.com via a remote HTTP request
Adam Cameron's Dev Blog
G'day: This ended up being more of a rabbit hole than I expected it to be. But in the process I've learned a bit more about curl, PHP, Python, JS
ColdFusion: probable bug with the implementation of the rest operator
Adam Cameron's Dev Blog
G'day:
CFML: updates to my TinyTestFramework
Adam Cameron's Dev Blog
G'day: Just to pass the time / avoid other things I really ought to be doing instead, over the last few evenings I'm been messing around with my
Work with me here - revisited
Adam Cameron's Dev Blog
G'day Back in Jan I posted "Work with me here". Once again we are growin