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

Image may be NSFW.
Clik here to view.

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 Article


Doh!

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 Article


Doh!

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 Article

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

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


Image may be NSFW.
Clik here to view.

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

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

Quickly: 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 Article


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


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

ColdFusion: 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 Article

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

Odd: 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 Article


Reminder: 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 Article

parameterExists() 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 Article


Query.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 Article

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


2

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 Article

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

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