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

Scoping or not scoping?

G'day:I'm back to talking about CFML today, rather than griping about stuff.The other day I blogged about posting my UDF replaceWithCallback()on CFLib. Someone (I can't find who it was and where it was...

View Article


CFML implementation of Array.reduce()

G'day:I've knocked out a quick arrayReduce() UDF, which I'll post on CFLib once I get some code review feedback (if any) on it. I'd appreciate sets of eyes on it, if you had time.Update:Adam Tuttle...

View Article


ColdFusion hoists VAR declarations

G'day:Whilst messing around with how scopes in functions in ColdFusion work, I came across something I didn't know: like Javascript, ColdFusion hoists its VAR declarations. This could be common...

View Article

Recognising the people who help me with this blog

G'day:Adam Tuttle (that's twice today) was quipping last that I'd mentioned him twice on the blog on Weds, and I should try for three times y/day (which failed: just the one mention, sorry). Anyway, as...

View Article

toScript()? New to me. New bugs to me, too

G'day:I'm in Portumna visiting my boy... well not right now, I'm in the pub starting my second pint of Guinness, but the point is I'm away from home and am on my baby netbook rather than my usual rig,...

View Article


Really, Adobe: "NotWorthEffort"

G'day:So I started to write an article on the performance of evaluate() (and whether it's still a problem), but I got sidetracked by other CFML stuff I was catching up on, and now I'm on to article two...

View Article

New Railo docs site

G'day:Bam Bam Bam. Three articles in rapid succession this evening!I shoulda said something about this earlier, but it slipped my mind. Mark Drew has been beavering away getting the new Railo online...

View Article

OK, I'm very confused: arraySort() with a callback...?

G'dayI'm sitting at Shannon Airport awaiting my return flight to London, and killing time via Guinness and responding to comments on my blog. There are no little old catholic ladies here today to keep...

View Article


Survey: "ColdFusion Migration issues: Java 6 to Java 7"

G'day:I've decided I want to know more about any CFML code incompatibilities / issues that arise from migrating the underlying JVM from Java 6 to Java 7. I've created a quick - single question, written...

View Article


Javascript: explicit arguments or config object? When to use which?

G'day:Just to go off on a tangent... I'm doing Javascript this week, so the puzzling stuff I encounter will probably be JS rather than CFML.Whilst I know a decent amount about CFML, my JS is......

View Article

Installing Coldspring 1.2

G'day:This article is partly a piss-take, and partly actual guidance. Mostly the latter. Thanks to Rob Glover (again!) for the inspiration for the article (both the piss-take and the actual meat of the...

View Article

Reload Coldspring on each request when in a dev environment

G'day:This is based on another question Rob asked about Coldspring a few days back:Is there a way to make #Coldspring reload the CFCs on each requestion, for dev purposes? #coldfusionI've had the same...

View Article

Blue... Phoenix?

G'day:I saw mention of this on Twitter the other day and thought it was a typo. Then I saw Chris's blog post just now. Blue Dragon -  not OpenBD, but the New Atlanta product - still exists? And is in...

View Article


Saving class files in ColdFusion (and Railo): anecdote should not take...

G'day:There was a thread the other day on the Railo Google Group regarding the "Save Class Files" setting on Railo. I piped up with my usual spiel that I don't think it's a worthwhile setting to use on...

View Article

Java 6 to 7 migration: a paucity of gotchas

G'day:After some confusion arose from changes in behaviour of arraySort() if running ColdFusion 9 on either Java 6 or Java 7, Ray encouraged me to have a look into what problems people had had / were...

View Article


JSON: yet another bug

G'day:This might actually be a manifestation of the same issue I wrote about a while back: "Right... so JSON is being a pain in the arse again". And I didn't spot this one myself - I've given up on...

View Article

It's getFunctionCalledName(), not getFunctionReferenceName() or...

G'day:This is an unabashed "note to self", and will not be of any use to anyone else at all. But there's method in my madness.The name of the function that returns the name that a function was called...

View Article


"evalulate() is really slow". Is it now?

G'day:I'm always the first person to screw up my nose when I see someone using evaluate() in any CFML written for versions of CF after CF5. But generally because it's an unnecessary function call as...

View Article

London Railo Group

G'day:Me mate Alex Skinner of Pixl8 is hosting the new London Railo Group. The first get together is on Weds Aug 28 - so two weeks' time - at their offices in Clapham.I'm gonna pop along and take...

View Article

Moan moan moan bloody moan

G'day:Another point for Rob Glover... he reminded me about one of my pet hates yesterday... CFML code in which the dev has closed the tags. I wrote an article about closing CFML tags ages ago. But what...

View Article
Browsing all 1333 articles
Browse latest View live