Twitter: raymondcamden

Address: Lafayette, LA, USA

Bug with ColdFusion 11's Elvis Operator

09-04-2014 2,214 views ColdFusion 14 Comments

Ok, snap quiz time, given the following code, and that exists, will the UDF run?

Speaking at NCDevCon 2014

09-03-2014 2,599 views Development, JavaScript, ColdFusion 3 Comments

I'm very happy to announce that I'll be speaking at NCDevCon 2014. I've spoken at this conference for a few years now but didn't submit a topic this year due to some personal issues. Those personal issues are currently in hibernation for a few months and when an opening popped up at the last minute, I leapt at it.

I'll be speaking on two topics this year. My first is a simple look at what I think are the top features of ColdFusion 11. This will be a very opinionated look at the features of ColdFusion 11 (and ColdFusion Builder 3) that I think are worth your attention.

The second topic will be a look at the Ionic framework. This is a presentation I was supposed to give a month or two ago but that event was cancelled. I'm a complete and utter Ionic fan boy so I can't wait to share the awesomeness of Ionic with others.

For folks who can't attend (shame on you - you should :) - all NCDevCon sessions are taped and will be available for free after the conference. But tickets are still for sale. It isn't too late. If you can make it, I highly recommend going!

p.s. Sorry for being quiet the last few days. I just got back from my brother's wedding and I'm somewhat swamped. I need a clone. Or three.

Follow up to ColdFusion Axis2 Web Service Issue

08-21-2014 2,865 views ColdFusion 5 Comments

Last month I blogged about an odd issue with Axis2 web services. Basically, the CFC was persisting past the initial hit. Normally CFCs are recreated on every request. This didn't seem to be the case with Axis2 web services.

Eventbrite API Demos

08-15-2014 2,705 views jQuery, JavaScript, ColdFusion Comments

A few days ago a client of mine, Rich Swier of HuB, asked if I could build him two quick demos that made use of the Eventbrite API. I whipped up the two demos for him and once done, he graciously allowed me to share it on my blog. (Thank you Rich!) I will warn you that this code was written for ColdFusion 8 so it is entirely tag based. At the very end a mod was made for ColdFusion 9. Obviously it could be converted to script and perhaps improved in other ways as well, but I hope this is useful for folks who want to play with the Eventbrite API in the future.

Avoid Zero (or super short) Application Timeouts

08-08-2014 2,788 views ColdFusion 4 Comments

So here's a doozy for you. Over the past week or so I exchanged emails with a reader who was having an odd issue with ColdFusion mappings. Specifically the code he wrote to actually use the mappings would fail to work if he used application specific mappings. Switching to mappings defined on the server fixed it.

MockData CFC Released

08-04-2014 2,689 views ColdFusion 7 Comments

A while ago I wrote a Node.js service called MockData. The idea behind it was to create a quick way to generate mock data for client-side applications that were purely driven by URL parameters. So for example, I could get 10 random people by doing an XHR request to http://myserver:myport?num=10&author=name. The service I built supported a few different types of mock data (names, emails, addresses, telephone numbers, etc), and was, I think, pretty flexible. I thought it would be interesting to rewrite the core logic in ColdFusion, specifically ColdFusion 11, to see how much of the JS code had to be re-engineered.

Linting your ColdFusion code

07-31-2014 2,960 views ColdFusion 14 Comments

Earlier this week I discovered a new project on GitHub, CFLint. For my readers who may not be aware, linters are tools that inspect your code for bugs, best practices, and other issues. Numerous different types of linters exist, but as far as I know this is the first one for ColdFusion. It is still a bit rough (in my tests it would routinely have parsing issues on some of my files) but it is a good start and I think it could be a great tool for ColdFusion developers.

ColdFusion, isValid, Email and new TLDs

07-21-2014 3,622 views ColdFusion 14 Comments

A few days ago a user reported an issue with my blog involving the comment form. Apparently he has an email address using one of the new TLDs (top level domains) that are cropping up, specifically "directory." I decided to do some testing to see how well ColdFusion supports these new TLDs.

Soundings Update

07-16-2014 2,722 views ColdFusion 2 Comments

So hey, remember I built an open source ColdFusion survey application? This morning someone sent in a good request and I quickly added it. Surveys may now have an "attachment" question. Basically it means you can create a survey that also asks people to upload an attachment.

Issue with CFINDEX

07-11-2014 2,488 views ColdFusion 2 Comments

If you use cfindex to parse a directory of files, you should be aware of a serious issue that may hit you. As you know, you can ask cfindex to return a result structure that tells you how many files were added, removed, or deleted from an index. As an example, here is the result structure for a set of PDFs I added.