CfBlogs
 Data Grids  CF Overflow  Follow Us!  RSS

ColdFusion Posts Around the World.
TDD & Symfony: creating a small web service end point
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 the

 Posted on: 01/29/2023 10:04:00 PM
Symfony: getting rid of App namespace and using a well-formed one
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)
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
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 (see

 Posted on: 01/22/2023 10:31:00 PM
PHP: looking at ways of making HTTP requests
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
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
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
I need another two devs
Adam Cameron's Dev Blog

G'day:

I've previously posted similar offerings:

Off-topic / no technical content: I have a dilemma
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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)
Kotlin: scope functions (mostly)
Adam Cameron's Dev Blog
G'day: More Kotlin learning/investigation, following on from these other Kotlin article
Something for my Namesake
Something for my Namesake
Adam Cameron's Dev Blog
https://tinyurl.com/45karnk7
CFML: working MySQL datasource in Application.cfc (this is just a note-to-self/Google)
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
CFML: updates to my TinyTestFramework
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
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
CFML: with Lucee, true isn't necessarily the same as true
CFML: with Lucee, true isn't necessarily the same as true
Adam Cameron's Dev Blog
G'day: Yesterday I decided to improve my "Tiny Tes
CFML: Adding a LogBox logger to a CFWheels app via dependency injection
CFML: Adding a LogBox logger to a CFWheels app via dependency injection
Adam Cameron's Dev Blog
G'day: This follows on from CFML: implementing dependen
A day in the life of trying to write a blog article in the CFML ecosystem
A day in the life of trying to write a blog article in the CFML ecosystem
Adam Cameron's Dev Blog
G'day: This is not the article I intended to write today. That article was gonna be titled "CFML: Adding a LogBox logger to a CFWheels app via de
CFML: implementing dependency injection in a CFWheels web site
CFML: implementing dependency injection in a CFWheels web site
Adam Cameron's Dev Blog
G'day: Recently I wanted to abstract some logic out of one of our CFWheels model classes, into its own representation. Code had grown organically
CFML: revisit import aliasing
CFML: revisit import aliasing
Adam Cameron's Dev Blog
G'day: I'm writing this here cos it's getting a bit long for a comment on the CFML Slack channel, and perhaps it might get a different set of eyes
If your company (or yourself) makes money using Lucee… you should throw them a bone
If your company (or yourself) makes money using Lucee… you should throw them a bone
Adam Cameron's Dev Blog
G'day: A few weeks back, right in the thick of the crap about all these Log4J v
Reading
Reading "It's probably time to stop recommending Clean Code"
Adam Cameron's Dev Blog
G'day: Slightly lazy article, this one. This is basically some thoughts I jotted down in the W
Work with me here
Work with me here
Adam Cameron's Dev Blog
G'day I mean literally: come work with me. Here. We're expanding our dev team, and I'm looking for a new dev to join us. T
A question about DAO testing, abstraction, and mocking
A question about DAO testing, abstraction, and mocking
Adam Cameron's Dev Blog
G'day: This is another "low-hanging fruit" kinda exercise (see also previous article: "
A question about the overhead of OOP in CFML
A question about the overhead of OOP in CFML
Adam Cameron's Dev Blog
G'day: A question cropped up on the CFML Slack channel the other day. My answer was fairly long-winded so I decided to post it here as well. I as
TDD: writing a micro testing framework, using the framework to test itself as I build it
TDD: writing a micro testing framework, using the framework to test itself as I build it
Adam Cameron's Dev Blog
G'day: Being back in CFML land, I spend a lot of time using trycf.com to write sample code. Some
Unit testing back-fill question: how thorough to be?
Unit testing back-fill question: how thorough to be?
Adam Cameron's Dev Blog
G'day: I'm extracting this from a thread I started on the CFML Slack channel (it's not a CFML-specific question, before you browse-away from here
Testing: reasoning over
Testing: reasoning over "testing implementation detail" vs "testing features"
Adam Cameron's Dev Blog
G'day: I can't see how this article will be a very long one, as it only really dwells on one concept I had to reason through before I decided I w
Test coverage: it's not about lines of code
Test coverage: it's not about lines of code
Adam Cameron's Dev Blog
G'day A coupla days ago someone shared this Twitter status
CFML: static methods and properties
CFML: static methods and properties
Adam Cameron's Dev Blog
G'day: Context In Lucee 5.0 (so: ages ago) and ColdFusion 2021 (so: you know… just now), support for static properties and metho
Switch refactoring on the road to polymorphism
Switch refactoring on the road to polymorphism
Adam Cameron's Dev Blog
G'day: A while back I wrote an article "Code smells: a lo
Factories, static methods, Law of Demeter and never letting Sean see my code
Factories, static methods, Law of Demeter and never letting Sean see my code
Adam Cameron's Dev Blog
G'day: I'm absolutely kidding about one of those things, btw. Right so yesterday I wrote a coupla articles about what code should and shou
Another thought on controllers and where the buck should stop
Another thought on controllers and where the buck should stop
Adam Cameron's Dev Blog
G'day: I just wrote an article on what a controller ought to limit itself to: "Wha
What logic should be in a controller? (and a wee bit of testing commentary)
What logic should be in a controller? (and a wee bit of testing commentary)
Adam Cameron's Dev Blog
G'day: This topic has come up for me twice from different directtions in the last week or so, so I'm gonna dump some thoughts. I've actually disc
TIL: two things about reduce operations
TIL: two things about reduce operations
Adam Cameron's Dev Blog
G'day: When working through yesterday's article ("TDD, code puzzle, recursing reduct
TDD, code puzzle, recursing reductions
TDD, code puzzle, recursing reductions
Adam Cameron's Dev Blog
G'day: I couldn't think of a title for this one, so: that'll do. A few days ago
One last one! CFML higher-order functions compared to tag-based code: reduceRight
One last one! CFML higher-order functions compared to tag-based code: reduceRight
Adam Cameron's Dev Blog
G'day: I forgot one! I've already discussed map,
CFML higher-order functions compared to tag-based code: some, every and each functions
CFML higher-order functions compared to tag-based code: some, every and each functions
Adam Cameron's Dev Blog
G'day: I'm gonna try to round out this short series today: there's not much to say about the some, every and each
CFML higher-order functions compared to tag-based code: sort function
CFML higher-order functions compared to tag-based code: sort function
Adam Cameron's Dev Blog
G'day: OK so you've probably got the gist of things with these articles, with my previous treatments of comparing "modern" to "old school" with <
CFML higher-order functions compared to tag-based code: filter function
CFML higher-order functions compared to tag-based code: filter function
Adam Cameron's Dev Blog
G'day This one will be pretty short I think. It's the next effort in going over how these higher-order functions work compared to writing procedu
CFML: function expression syntax
CFML: function expression syntax
Adam Cameron's Dev Blog
G'day: Just super quickly. One of the newer feaures in CFML is that it now supports arrow-function syntax for function expressions. I say "newer"
CFML higher-order functions compared to tag-based code: reduce function
CFML higher-order functions compared to tag-based code: reduce function
Adam Cameron's Dev Blog
G'day: Here's the next effort in going over how these higher-order functions work compared to writing procedural code in CFML tags. The previous



Footer Logo

Powered by Galaxy Blog

If you have an ideathat you want to share, please contact us! This community can only thrive if we continue to work together.

Images and Photography:

Gregory Alexander either owns the copyright, or has the rights to use, all images and photographs on the site. If an image is not part of the "Galaxie Blog" open sourced distribution package, and instead is part of a personal blog post or a comment, please contact us and the author of the post or comment to obtain permission if you would like to use a personal image or photograph found on this site.

Credits:

Portions of Galaxie Blog are powered on the server side by BlogCfc, an open source blog developed by Raymond Camden. Revitalizing BlogCfc was a part of my orginal inspiration that prompted me to design this site.

Version:

Galaxie Blog Version 3.0 (Toby's Edition) June 14th 2022 Tropical Wave theme