Twitter: raymondcamden

Address: Lafayette, LA, USA

Example of Async Linting support in Brackets Sprint 38

04-15-2014 1,372 views Development, JavaScript Comments

One of the more cooler updates to Brackets recently was the linting API. This came out back in October and I wrote up a review of the API for the Brackets blog. It basically took 90% of the boiler plate code for linters and made it a heck of a lot simpler.

Multi-File Uploads and Multiple Selects (Part 2)

04-14-2014 1,969 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.

Update to my JavaScript Behance API

04-11-2014 1,943 views Design, JavaScript Comments

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:

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.

Dynamically Creating CSV Files on the Client

04-03-2014 2,813 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.

AngularJS Tip - Avoid Multiple Variables in ng-src

03-29-2014 2,291 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.

Example of a JavaScript Disqus Recent Comment Widget

03-21-2014 2,352 views JavaScript 1 Comment

I've made great use of Disqus on a few sites now and am planning on converting my 50K+ comments here some day soon. One of the features I'm interested in is building a way to list out recent comments per site. Disqus has a pretty complex API but oddly, I wasn't able to find many examples of JavaScript clients for the API. I suppose with the API limits and the inherit concern about including keys in your code it may limit the uses, but I was able to build a simple "Recent Comments" pod pretty easily. This is ugly, but hopefully it will be useful to others.

Reprint: What in the heck is JSONP and why would you use it?

03-12-2014 2,845 views jQuery, JavaScript 6 Comments
Earlier this week I blogged about the demise of DevelopRIA. Last night someone pinged me about one of my articles there so I thought it would be a good idea to republish it. The article is somewhat old (4 years or so) and doesn't mention CORS at all, but hopefully it is still useful to folks. But please keep the age in mind when reading. (My god - I actually preferred XML. What was I thinking?!?!)

Have you ever looked at some technology, or framework, and simply didn't understand why someone would use it? For some time now I've never quite gotten what JSONP is, nor why someone would use it over XML. Everything finally cleared up for me last week and since I assume (I hope!) I'm not alone in being confused, I thought I'd share what I learned.

My ColdFusion Bugs - visualized

02-28-2014 3,308 views JavaScript, ColdFusion 2 Comments

One last blog entry before I enter Mardi Gras oblivion. Earlier this week I had logged into the ColdFusion bugbase and noticed that I had over 500 bugs in the system. I thought this was kinda cool and I was wondering if I could see aggregate data about my bug reports.

Interesting discovery with CasperJS, jQuery, and transitions

02-28-2014 5,766 views JavaScript, HTML5 8 Comments

Earlier this week I got to look at some code using CasperJS. CasperJS is a testing utility for PhantomJS, a headless (i.e. virtual) Webkit browser. This is probably unfair, but I like to think of Casper as a super powered Curl. Hopefully you know Curl as a command line tool that lets you perform network requests and work with the result. Unlike Curl, CasperJS (and PhantomJS) can actually interact with the results like a real browser. This allows for some cool testing/utilities. I've only begun to scratch the surface of the tool, but I thought I'd share an interesting little issue my coworker and I ran into with it.

Creating a data backup of a WebSQL database

02-24-2014 3,176 views Mobile, JavaScript 2 Comments

I haven't written much about WebSQL lately, mainly because it is Dead Spec Walking. However, it still works in Cordova (for now), and I get questions from time to time. This one in particular was kind of interesting. Plus, the guy asking me for help with this was super nice even though I kept delaying my answer over a few weeks. :)