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

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 Article


Image may be NSFW.
Clik here to view.

Unit 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 Article


Request 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 Article

Ways 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 Article

Image may be NSFW.
Clik here to view.

Unit 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 Article


Closed/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 Article

Image may be NSFW.
Clik here to view.

G'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 Article

Can 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 Article


Slightly 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Can 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 Article

Random 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 Article

doesn'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 Article


Unit 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 Article

Image may be NSFW.
Clik here to view.

Unit 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 Article


Unit 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 Article

Discussion 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 Article


Image may be NSFW.
Clik here to view.

Railo 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 Article

Random 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 Article

Unit 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
Browsing all 1332 articles
Browse latest View live