Simon Baynes
G'day:Just very quickly. My mate / colleague Simon finished at HostelBookers.com today, and moved on to a new position. It's not for me to share the details, but it sounds like a really good gig, and...
View ArticleUnit Testing / TDD - more tests, more development
G'day:So enough prattling about <cfclient> for the time being (and, no, I haven't finished with that topic, but Adobe have demonstrated themselves up to the task of ridiculing themselves without...
View ArticleRequest for clarification on some stuff from Adobe
G'day:I've encountered some questions regarding the recent update, and have questions of my own... and I don't know the answers. So I'm gonna raise 'em here and bring 'em to Adobe's attention and see...
View ArticleWays to call functions in CFML
G'day:We've got Brad Wood and David Epler to thank for this article (sorry that Twitter presents information back to front, so start at the bottom and read up. Like one never generally would):CFML...
View ArticleUnit Testing / TDD - getting stuck on how / what to test (part 1/2)
G'day:Today I'm gonna go over some head-scratching (some of which is still bugging me) I did on the weekend. I kinda got stuck with how I should be testing something, and this raised questions as to...
View ArticleClosed/deferred/NotEnoughTime, eh?
G'day:I was goaded (OK, not really) into this by some observers on IRC. This is in regards to ticket number 3123145.Adobe, you really don't "get" how client-liaison works, do you? Here's the body of...
View ArticleG'day:This is not the article I started writing this morning.Zac Spitzer pointed me to a post on CFAussie "cflocation fails in CF10 but fine in CF9" in which someone was wondering why their...
View ArticleCan you run some code for me please?
G'day:I have a quick favour to ask.Could you please run this code, and lemme know what you get?<cfdump var="#createObject("java", "coldfusion.runtime.SessionTracker")#">I get this:object of...
View ArticleSlightly interesting (?) but mostly pointless exercise with inline function...
G'day:I was watching Blow-up and Dead Man Down with one eye on the TV screen and one eye on the code screen last night (actually all I have is a laptop, so it was different halves of the same screen,...
View ArticleHow to see the Java that your CFML compiles down to
G'day:This is in response to a question Upendra asked on my earlier article "CFCamp: <cfprocessingdirective> and how not to use it". Within that article I said this:This results in being compiled...
View ArticleCan a function expression circumvent closure?
G'day:I'm stumped. I "need" to have a function expression that can reference the context it's being executed in as well as the context it was declared in. And I can't work out how. I suspect this is...
View ArticleRandom idea: get rid of the need to specify a variable's scope
G'day:This idea popped into my head the other day when looking at some of my colleague's C# code, and noticing at how nicely uncluttered it is. A good part of this was the fact they don't need to deal...
View Articledoesn't quite behave how it's been documented to
G'day:<cfexit> isn't a tag I have call to use very often. Its primary use is in custom tags, and our coding standard at work prohibits the use of custom tags (I did not write the coding standard,...
View ArticleUnit Testing / TDD - getting stuck on how / what to test (part 2/2)
G'day:Today I'm resuming where I left off yesterday, but first the obligatory links to the rest of the series so far:Unit Testing / TDD - initial rhetoricUnit Testing / TDD - why you shouldn't...
View ArticleUnit Testing / TDD - completing the tests for on() and trigger()
G'day:I was getting into a rhythm with my TDD cycle this afternoon... test... refine... test... refine... here's what I was doing. Well: after the obligatory recap links (/SEO bait):Unit Testing / TDD...
View ArticleUnit Testing / TDD - passing data to on() and trigger()
G'day:Yesterday I plugged through more test/code and got the code to the point that it would bind and trigger event handlers A-OK. However we still need to update the code so that we can pass data at...
View ArticleDiscussion with a former Java developer
G'day:This is an adjunct to my most recent TDD article: "Unit Testing / TDD - passing data to on() and trigger()".A bloke at the pub walked past my screen and saw my code, and asked me what I was up...
View ArticleRailo supports array types
G'day:This might be old news, but it's something I didn't know until today. Railo supports function return values and arguments of type array-of-something, eg:function acceptArrayOfSamples(required...
View ArticleRandom thought...
G'day:Right, I've been at the pub for the third night running (so much for a low-expense Dec), so this is not exactly the most well-formed idea I have ever had.I was wending my home this evening on the...
View ArticleUnit Testing / TDD - off()
G'day:As alluded to in my earlier article, I initially forgot that as well as a way to bind event handlers (on()) to an event, and trigger() the event, I also really need a way to unbind handlers from...
View Article