Twitter: raymondcamden


Address: Lafayette, LA, USA

Multi-File Uploads and Multiple Selects (Part 2)

04-14-2014 2,360 views JavaScript, HTML5 4 Comments

A while back I wrote a simple example of using JavaScript to add file previews for a multi-file upload HTML control. You can find that entry here: Adding a file display list to a multi-file upload HTML control. I followed it up with another example (Multi-File Uploads and Multiple Selects) that demonstrated adding support for multiple selections. This weekend a reader asked for a way to remove files from the list before uploading. Here is an example of that.

Results of PhoneGap Survey

04-11-2014 4,272 views Mobile 21 Comments

Thank you to everyone (all 229 of you) who responded to my PhoneGap/Cordova survey. The survey asked what version of PhoneGap or Cordova you used, how quickly you upgrade, and asked what problems you had (in general) with PhoneGap and Cordova. I've included an Excel sheet of all the results below. Let's look at the numerical results first.

Update to my JavaScript Behance API

04-11-2014 2,241 views Design, JavaScript 1 Comment

After "speaking" with a reader yesterday about my Behance JavaScript API, I've decided to go ahead and promote it to a proper GitHub repository. You can now find the code here: https://github.com/cfjedimaster/BehanceAPI.

I also updated the API to support getProject. There are still a lot of things missing. I'm basically adding functions as people ask for them, but with the number of demos I've built with it I thought it was time to move it over to GitHub. Enjoy.

Recording and demos from my ColdFusion 11 presentation

04-10-2014 2,398 views ColdFusion 2 Comments

Thanks to the Salt Lake City UG for allowing me to present to them last night. You can watch a recording of the presentation via the link below. I've also attached a zip of the demo files.

getSafeHTML and ColdFusion 11

04-09-2014 2,227 views ColdFusion 7 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,761 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,897 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,271 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 3,230 views Mobile 3 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,896 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.