CFML: updates to my TinyTestFramework
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 TinyTestFramework. I first created this as an exercise in...
View ArticleColdFusion: probable bug with the implementation of the rest operator
G'day: ColdFusion 2021 added the spread and rest operators. These are implemented as two different usages of .... In this article I am going to be making an observation about how the implementation of...
View ArticleRunning CFML code on trycf.com via a remote HTTP request
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 (client). And actually CFML too I guess.I can't even...
View ArticleCFML: Adding beforeEach handlers to my TinyTestFramework. Another exercise in...
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 a test and see where I go from there.Context: I've been...
View ArticleCFML: for the sake of completeness, here's the afterEach treatment
G'day:This immediately follows on from "CFML: Adding beforeEach handlers to my TinyTestFramework. Another exercise in TDD".Having done the beforeEach implementation for my TinyTestFramework, I reckoned...
View ArticleCFML: adding aroundEach to TinyTestFramework was way easier than I expected
G'day:I'm still pottering around with my TinyTestFramework. Last night I added beforeEach and afterEach handlers, but then thought about how the hell I could easily implement aroundEach support, and I...
View ArticleCFML: fixing a coupla bugs in my recent work on TinyTestFramework
G'day:Last week I did some more work on my TinyTestFramework:CFML: for the sake of completeness, here's the afterEach treatmentCFML: adding aroundEach to TinyTestFramework was way easier than I...
View ArticleIf yer a CFML dev, you should consider financially supporting trycf.com
G'day:I'll keep this on-point today.If you are a CFML developer, you will be aware and likely use trycf.com. Whenever I have an issue with some CFML that needs to be demonstrated to someone else; eg:...
View ArticleWhy I'm doing this TinyTestFramework exercise
G'day:I have listened to both Modernize or Die® and Working Code Podcast (the specific episode of the latter is not public yet: I get it early as I'm a patreon… which you should be too: Patreon:...
View ArticleCFML: Filler article with code but no TDD at all
G'day:I'm still working on the TinyTestFramework though: some things don't change.My test file for this work, which is the framework and all its tests in one is getting a bit weighty: >1200 LOC, and...
View ArticleA super-quick Observer Pattern implementation in CFML, and I skip TDD. Or do I?
G'day:There's a possible "Betteridge's law of headlines" situation there. I'm not actually sure yet.A few days back I was chatting to someone about application-scope-usage, and how to trigger an event...
View ArticleCFML: Implementing an ObservableScopeAdapter using the Adapter Pattern,...
G'day:In my last article (A super-quick Observer Pattern implementation in CFML, and I skip TDD. Or do I?), I did what it suggests: I created a very simple observer pattern implementation in CFML.Why?...
View ArticleLucee: Creating a log file programmatically
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.We need to create some log files in our application. I knew...
View ArticleJS: Server-sent events
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 JS development, but I don't, so this feature is new to me....
View ArticleWork with me here - revisited ...again
G'day:I've done this twice before:Work with me hereWork with me here - revisitedOnce again, we're continuing to build the team, and we're recruiting for two roles this time:Software Development...
View ArticleKotlin: creating a project and getting some code (and tests) to run
G'dayThis 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 IntelliJ IDEA, and demonstrate to myself I can make some code...
View ArticleKotlin / Gradle / Kotest random exploration
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 Kotlin ecosystem again, and I've tried and suceeded with...
View ArticleCFML: testing applicationStop behaviour. Again.
G'day:As the title suggests, I've done this before: Investigation into applicationStop(). However this time I've tested on Lucee as well. It's interesting to see how my code differs from 2012 and...
View ArticleCFML: outputting text from within inline Java in CFML
G'day:I saw an odd question today. Me mate Ray was messing around with the Java integration in ColdFusion (that allows one to write Java code directly in one's CFML code), and asked how to write out...
View ArticleKotlin: an afternoon learning Kotlin stuff
G'day:This is going to be another fairly stream-of-consciousness effort, much like my earlier "Kotlin / Gradle / Kotest random exploration" article. I currently have very little direction to what I am...
View Article