Both ColdFusion and Railo make an incomplete job of validating email addresses
G'day:A question came up on StackOverflow just now "new to coldfusion. is there any function that defines Email is typed correctly" (how hard, btw, is it to give a coherent title to one's question?...
View ArticleDoh!
G'day:So... yesterday I was monkeying with my blog templates, and I inadvertently wiped all my customisations. And did I do a back-up? Of course I didn't.So, yeah, it's not working or looking quite...
View ArticleDoh!
G'day:Actually it was pretty easy to reinstate the comments (the process has improved and is more reliable since the last time I had to do it), and rejig the template. I think everything is OK...
View ArticleCouldn't have said it better: Brad explains objects in CFML
G'day:I'm being a bit lazy here... I'm just pointing you towards some reading. Brad does a great job of answering a question on StackOverflow: "Behavior of creating objects in ColdFusion".Go have a...
View ArticleSome more TestBox testing, case/when for CFML and some dodgy code
G'day:This is an odd one. I was looking at some Ruby code the other day... well it was CoffeeScript but one of the bits influenced by Ruby, and I was reminded that languages like Ruby and various SQL...
View ArticleRegex help please
G'day:I'm hoping Peter Boughton or Ben Nadel might see this. Or someone else who is good @ regular expression patterns that I'm unaware of.Here's the challenge...Given this string:Lorem ipsum dolor...
View ArticleThis always trips people up: the difference between listContains() and...
G'day:This question came in via email. Fortunately (given my reaction the other day "I'm not Ben Nadel (or Ray Camden)") this one was suggesting a blog article, and a blog article it shall receive. The...
View ArticleQuickly: read Sean's comments and code
G'day:I said this on Twitter last night, but in case you're wise enough not to busy yourself with that sort of nonsense, I'll repeat it here.A few days ago I posted some woolly code which implemented a...
View ArticleA new survey: which language would you use to develop a new REST API?
G'day:SSIA, really. As per the survey intro text:A client has a rusty-old SOAP API written in CFML which needs overhauling. We possibly have the opportunity to rewrite it. The rest of the codebase is...
View ArticleOh dear. I am a big meany again
G'day:This greeted me in my in box just now:Adam,We can do without some of the petty comments and downvotes and suggested closures from people such as yourself on Stackoverflow.Thanks,[person's name...
View ArticleColdFusion: some built-in functions aren't actually functions. It seems.
G'day:This caught me out the other day, but I've just now had a change to have a look at it some more. In ColdFusion (as distinct from Railo) some built-in CFML functions such as writeLog(), throw()...
View ArticleSeven Languages [etc], and how guilt tripping me tends to work
G'day:A few weeks ago Sean piped-up about the sequel to "Seven Languages in Seven Weeks":I'm enjoying Seven More Languages in Seven Weeks - you should try it too! http://t.co/eR6zoRW5tF via @Prismatic—...
View ArticleOdd: one cannot have a within a
G'day:This is an odd one. This morning I was looking at a StackOverflow question ("ColdFusion cfcase statements and referencing their variables?") which had me writing a <cfswitch> statement...
View ArticleReminder: REST API survey
G'day:I'm still a few submissions shy of enough to warrant aggregating 'em, so if you haven't done my REST API survey ("A new survey: which language would you use to develop a new REST API?"), it'd be...
View ArticleparameterExists() and stuff like that
G'day:This is a fairly old school topic. TBH, the mention of parameterExists() was mostly to get your click through, but I do mention it along the way.Yesterday (note: it's taken me a few days to...
View ArticleQuery.cfc et al functions have file-reads and server-wide exclusive locks...
G'day:Today's muse is Henry, with this Twitter status message:#coldfusion sandbox security requires FileRead() because some code uses "new Query()" due to base.cfc. That's a pretty bad design, no?—...
View ArticleSurvey Results: A REST API
G'day:A few days back I ran a survey on Survey Monkey asking:A client has a rusty-old SOAP API written in CFML which needs overhauling. We possibly have the opportunity to rewrite it. The rest of the...
View Article2
G'day:I'm frickin' lousy with dates (as in "calendar", not as in "romance". Although the same applies, from memory ;-). Well: remembering dates is never a problem, but remembering what the current date...
View ArticleWhere are the ColdFusion 10 & 11 updates, Adobe?
G'day:Here's a quick thought that's been bugging me for a month or two now. What's happened with the ColdFusion updater?Checking Wikipedia, the update history for ColdFusion 10 is as...
View ArticleMy position on running ColdFusion 11.0.0 in production
G'day:I've seen a few people claim they're about to go into production with ColdFusion 11. My reaction to that is "are you a lunatic" (note lack of question mark).ColdFusion 11 was released in a...
View Article