Quantcast
Channel: Adam Cameron's Dev Blog
Browsing all 1332 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Adding TestBox, some tests and CFConfig into my Lucee container

G'day:On Fri/Sat (it's currently Sunday evening, but I'll likely not finish this until Monday now) I started looking at getting some CFML stuff running on Lucee in a Docker container. If you like you...

View Article


How (not to) apply a feature toggle in your code

G'day:I've had these notes lying around for a while, but they were never interesting enough (to me) to flesh out into a full article. But feature toggling has been on my mind recently (OK, it's because...

View Article


Why I've been looking at CFML again recently

G'day:Just a quick one. You might have noticed that the subject matter of this thing abruptly changed from the usual PHP-oriented stuff, back to looking at CFML-oriented stuff. This deserves an...

View Article

Heads-up: Disqus is being flaky ATM

G'day:A quick note to advise that I am not getting email notifications of all comments people are making to my blog articles ATM. This is really annoying, and I think makes me seem a bit disrespectful...

View Article

Misc changes to environment for my ongoing Docker / Lucee / CFWheels series

G'dayThis will be a bit of a scrappy article just summarising some changes to my project environment since the last article in this series on Lucee / CFWheels / Docker; "Adding TestBox, some tests and...

View Article


On code review

G'day:I'm pretty big on code review; I see it as a critical part of the process of developing solution for our clients, and making our own and our colleagues' lives easier. It's a useful communications...

View Article

Image may be NSFW.
Clik here to view.

Change in look...

G'day:I see my change in look has been leaked to the public:I hope Adam Tuttle doesn't mind me copying his work.This was taken from Top 30 Coldfusion RSS Feeds. I will touch base with them and ask them...

View Article

Definitions of ~

G'dayI'm just building on some thoughts here. Some of the thoughts are from learning from people who know a lot more than me, and from watching my teams through their successes and… "less than...

View Article


Image may be NSFW.
Clik here to view.

How TDD and automated testing helped me solve an Nginx config problem I had...

G'day:I have a "website" I'm building on as part of a series of articles I'm writing about Lucee / CFWheels / Docker. I have a Docker container running Nginx which proxies requests for CFML code to a...

View Article


CFML: pseudo-constructor polymorphic inheritance expectations management

G'day:Well there's a sequence of words I never expect to write down.I just ran across something that I was reasonably surprised by when I first saw it. But having looked at it some more, I'm not sure....

View Article

Image may be NSFW.
Clik here to view.

Installing and running CFWheels in my Lucee Docker container

G'day:If you've been following along in the previous articles in this series (Lucee / CFWheels / Docker), You'll know I have a set of Docker containers running Nginx, MariaDB and Lucee. I have been...

View Article

Image may be NSFW.
Clik here to view.

Testing: A Horror Story

G'day:My adventures in Lucee / CFWheels / Docker continues. This time I'm looking at what CFWheels offers by way of testing.2021-05-04 - editorial updateIn this article I am very - but I feel...

View Article

Image may be NSFW.
Clik here to view.

abort! abort;!

G'dayWhat do you (CFMLers, sorry) make of this?<cfscript>function f(){ writeOutput("in f<br>") abort}writeOutput("before f<br>")f()writeOutput("after...

View Article


Short version: getting CFWheels working outside the context of a...

G'day:This is all extracted from my earlier article "Installing and running CFWheels in my Lucee Docker container" from a few days ago. Why am I repeating it? Because it kinda got lost in the morass of...

View Article

Image may be NSFW.
Clik here to view.

Lucee: what now for goodness sake

G'day:I'm just writing this here because it's too long to put in a message in the CFML/Lucee Slack channel, and so I can get some eyes on it.Consider this code (test.cfm):<cfoutput><cfset...

View Article


Setting up a MariaDB JDBC datasource in ColdFusion 2021 in Application.cfc

G'day:This is how I needed to set my datasource in Application.cfc to get ColdFusion 2021 to connect to MariaDB. I'm writing this because I could not - for the life of me - find this information in any...

View Article

Image may be NSFW.
Clik here to view.

CFWheels: running TestBox instead of RocketUnit

G'day:CFWheels ships with its own inbuilt (albeit third-party) testing framework. I discuss its merits in an earlier article: "Testing: A Horror Story". You can probably work out my opinion of the...

View Article


Image may be NSFW.
Clik here to view.

I play the game "how long will it take me to find a new bug in ColdFusion"...

G'day:Answer: about two minutes to guess what would likely be broken, and I think I had an initial repro created in another minute after that.Last time I tried this it took 44min: "ColdFusion bug...

View Article

Image may be NSFW.
Clik here to view.

Code smells: a look at a switch statement

G'day:There was a section in last week's Working Code Podcast: Book Club #1 Clean Code by "Uncle Bob" Martin (pt2) where the team were discussing switch statements being a code smell to avoid in OOP...

View Article

Image may be NSFW.
Clik here to view.

CFML: weirdness with… and single-quote escaping

G'day:I was looking around for a good (read: bad) example of one of those exercises in "building a dynamic SQL string inside a <cfquery>". Firstly, one should pretty much never do this. You are...

View Article
Browsing all 1332 articles
Browse latest View live