Twitter: raymondcamden


Address: Lafayette, LA, USA

getSafeHTML and ColdFusion 11

04-09-2014 1,890 views ColdFusion 2 Comments

One of the cooler new features in the next version of ColdFusion is getSafeHTML. I had seen this mentioned a few times already but it never really clicked in my brain what it was doing. getSafeHTML makes use of the AntiSamy project. It takes user-generated content and replaces unsafe HTML. What is safe and what isn't? It is totally up to you. The functionality is driven by an XML file (a very complex XML file) that lets you get as granular as you want. Want to support the bold tag but not italics? Fine. Want to support colors for CSS but only some? You can do that. Let's look at a simple example - and one that happens to point out a little issue.

Upcoming ColdFusion E-Seminars

04-09-2014 1,467 views ColdFusion 2 Comments

Just a quick FYI to let you know about some upcoming ColdFusion e-seminars. These are online presentations open to the public.

This is not the function you are looking for

04-08-2014 1,627 views ColdFusion 7 Comments

Yesterday I was doing some editing on the CFML Reference wiki when I ran across a function that is - as far as I know - one of the most misused functions in ColdFusion. What function is that? listContains.

Interesting addition to ColdFusion 11 (and an example of it in ColdFusion 10)

04-07-2014 2,048 views ColdFusion Comments

While preparing for a presentation I'm doing on ColdFusion 11 on Wednesday night, I discovered an interesting update to the directoryList function. In ColdFusion 11 you can now pass a function for filtering as opposed to just a list of extensions. (And yes, a list is valid - I'll explain more in a bit.) The example function was a bit messy so I updated it to make it a bit nicer. Here is the example.

Quick survey on PhoneGap/Cordova versions

04-07-2014 2,975 views Mobile 2 Comments

Got a minute? If so, please fill out this quick survey on PhoneGap/Cordova versions. This was spurred by a question from a reader asking about different versions of PhoneGap and how much each one is used. I wasn't aware of any firm numbers regarding this so I thought a simple survey may help.

PhoneGap/Cordova Version Survey

Dynamically Creating CSV Files on the Client

04-03-2014 2,799 views JavaScript, HTML5 10 Comments

A reader posed an interesting question on one of my ColdFusion posts recently. The post (Creating an Excel File) demonstrated how to take form data on the front end and create an Excel file via ColdFusion when the form is submitted. The user wanted to know if this could be done entirely client-side.

Adding an Absolutely Positioned Header to Reveal.js

04-01-2014 2,282 views Misc 3 Comments

I'm a big fan of reveal.js. It is a lightweight HTML-based presentation framework that just works well for me. I switched over to it a while ago and enjoy working with it. Every now and then though I run into an issue that is a bit hard to handle with it. Yesterday I was working on my cfObjective presentation and created the slide you see below.

Dash integration for Brackets

03-31-2014 2,018 views Development Comments

So after raving about Dash yesterday, I thought I'd whip up a quick Brackets integration extension for it. Brackets recently made Node integration a bit easier, and Dash has a simple CLI interface for searching, so it didn't take long to write an extension that lets you make a selection, hit a key combo, and then open the doc in Dash automatically.

Check out Dash

03-30-2014 2,067 views Development 5 Comments

While at iOS training a few weeks ago one of the instructors mentioned an OSX program called Dash. Dash is an offline documentation viewer, which sounds kinda boring, but I'm incredibly pleased with it.

AngularJS Tip - Avoid Multiple Variables in ng-src

03-29-2014 2,281 views JavaScript Comments

Before I start, let me be clear I'm still learning AngularJS and this "tip" may be 100% wrong. I just ran into this with an application and most likely there is a better way to address what I did.