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

Warning: don't de-install patches from ColdFusion 10

G'day:Here's a warning... it's a bit of an edge-case, but worth knowing. I just tried to de-install some patches from two of my ColdFusion 10 servers, and in both cases it has rendered CF Administrator...

View Article


Oh dear: tags vs script

G'day:I'm surprised this one didn't come up earlier (like back when I did this one: "/>"). But Marcus Fernstrom and I started talking about this last night on Twitter, and - despite "best" efforts -...

View Article


Different bugs in each() function in each of Railo and ColdFusion

G'day:A quick one. I was investigating a bug in Railo, detailed in "Arguments - Struct or Array", and as well as verifying the bug in Railo, I found a different one in ColdFusion.Here's the repro...

View Article

I'm sick of vendors screwing up CFML

G'day:AAARRRGGGGHHHH!!!How hard does any of this need to be? I'm posting this here and against the Railo bug report I started typing it into "CFHTTP accept callback UDF to report progress"...

View Article

Finally had a chance to look at Sean's version of case()

G'day:This took way longer to revisit than I intended. Apologies to Sean, as it might have seemed like I solicited some code from him and then ignored it. And, indeed, that was mostly the case other...

View Article


Survey: to scope or not to scope

G'day:And, indeed as the old trope goes: "that's the question". I have been looking at some code that follows one coding standard, which says "thou shalt scope all variables". And I look at my code, in...

View Article

G'day:I was thinking about this independently the other day, but then the same question came up on Stack Overflow today: "Is there a shorthand for <cfoutput>", in which the punter asks if this...

View Article

Image may be NSFW.
Clik here to view.

7Li7W: Ruby Day 1

G'day:That's short of "Seven Languages in Seven Weeks", btw: some ppl get arsey when I write about non-CFML stuff on a blog claiming to be about CFML, so it's an enabler for them to know to piss off...

View Article


Image may be NSFW.
Clik here to view.

Survey results: scoping of variables-scope variables

G'day:So I'll close off the survey "Survey: to scope or not to scope" now. I got a good level of response: 79 responses. Here's the aggregation of said responses. Including some charts just for you,...

View Article


Embryonic ideas

G'day:This is gonna have to be quick, as I've spent my "before work" blogging window chatting on Twitter / Skype with various people. So I need to get this out the door in the next 30min.Over the last...

View Article

Cool (I think?) Railo can have dynamic case values

G'day:Thanks to NicholasC from IRC for putting me onto this. Apparently in Railo, one can have dynamic values for case values in a switch/case!Here's an example:<!---...

View Article

CFML switches: how they're implemented in the underlying Java

G'day:This is just a quick follow-up tot he earlier article "Cool (I think?) Railo can have dynamic case values". Michael was wondering out loud what the CFML gets compiled down to in Java (well: he...

View Article

Don't advertise yourself as a CFML website

G'day:Do you know what the first thing I do when I see a website which uses .cfm file extensions is?I browse to /Application.cfc, then /Application.cfm. Often this will error - if you don't do a proper...

View Article


Are the docs for wrong, or am I misunderstanding?

G'day:Just before I update the ColdFusion docs and file a bug with Railo, can someone please santiy check this.The docs for <cfexit> say...

View Article

Image may be NSFW.
Clik here to view.

Railo: CFC-based custom tags

G'day:As a baseline for some more research I am about to do, I wanted to get up to speed with how Railo implements CFC-based custom tags. I had read their blog articles about them:CFC-based Custom Tags...

View Article


That bug I thought I had spotted: solved

G'day:Yesterday I asked for some help understanding a mismatch between some code and some docs: "Are the docs for <cfexit> wrong, or am I misunderstanding?".I just looked at this some more, and...

View Article

Quick quiz: checking your expectations

G'day:This is a super quick one. What would you expect this code to output://each.cfma = ["a"];a[3] = "c";a.each(function(v,i,a){ writeOutput("value: #v#<br>");});This is not a trick question,...

View Article


What was that array.each() quiz all about?

G'day:Yesterday I posed a quiz question to you: "Quick quiz: checking your expectations", which was asking how you'd expect this code to behave://each.cfma = ["a"];a[3] = "c";a.each(function(v,i,a){...

View Article

Image may be NSFW.
Clik here to view.

/ bug details for Adobe & Railo

G'day:I need a place to put some pictures for a coupla bugs I need to raise, so I'll slap 'em in here and point Adobe & Railo at them. There's not much of interest going on below the fold, so don't...

View Article

Looking at PHP's OOP from a CFMLer's perspective (part 1/?)

G'day:Once again I find myself looking at PHP. As an exercise, I'm gonna get up to speed with how OO is effected in PHP, and as a learning aid I'm gonna document it as I go. I hasten to add I am very...

View Article
Browsing all 1333 articles
Browse latest View live