Twitter: raymondcamden


Address: Lafayette, LA, USA

OOO for a bit so why not say hi to each other?

10-16-2014 1,095 views Misc 2 Comments

As I despise email auto responders I'll use this as my official OOO (Out Of Office) notification for the next two weeks. I do not expect to be blogging at all. I probably won't be on Twitter. Emails will probably pile up as well. Everything will be back to normal(ish) around November 1st. In the meantime...

Thoughts on Integrating Ionic into an Existing Application

10-16-2014 1,196 views Development, JavaScript, HTML5 4 Comments

Earlier this week a user asked me a question about integrating Ionic into an existing application.

Nunjucks templating by Mozilla

10-15-2014 1,119 views JavaScript 4 Comments

This is mainly just a FYI type post, but earlier this week I discovered Nunjucks, a client-side templating language by Mozilla. I've been pretty much sold on Handlebars as my template language, but Nunjucks has a lot going for it too. Out of the box it seems to support a lot more than Handlebars (inheritance and asynchronous support for example) and the template synax is as friendly as Handlebars'.

Delaying an Edge Animate asset until visible - Part 6

10-14-2014 1,446 views jQuery, JavaScript, HTML5 1 Comment

Welcome back to the thread that won't die. I've blogged (see related links below) about this topic six times now. It started off as something simple - making an Edge Animate animation wait to run until visible - but it has turned into a pretty complex set of entries discussing not only how to do it but alternatives and other modifications. Today's entry is rather simple though as it just covers updates for the October 2014 release of Edge Animate.

My review of Ionic's Visual Application Builder

10-10-2014 3,680 views Mobile, Development, Design, JavaScript 1 Comment

Let me begin by saying that - like most developers I think - I have a pretty strong distrust for visual builders for applications. I've been burned by too many tools that create something pretty on screen but generate a horrible mess of code behind the scenes. I think there are definitely tools that do a good job of it now, but once you've been scarred by seeing div tags nested twenty layers deep, you get a bit sensitive. I've recently become a bit more open minded about it. XCode, in general, has a very powerful UI building metaphor to it and I kinda dig how the Android tools handle it in Eclipse as well. Now that you understand how I approach these tools, let me talk to you a bit about the upcoming Ionic Creator tool from the folks behind Ionic.

Cordova, the Camera plugin, AngularJS, and Ninja Cats.

10-10-2014 4,038 views Mobile, JavaScript 6 Comments

Just a random tip for folks who may run into this in the future. I'm working on a mobile app for a client and I'm using both Cordova and AngularJS. The application allows people to select a photo from their gallery or take a new picture. It then renders a thumbnail to the web page. It supports any number of selections so my view simply loops over an array.

Another bug with queryExecute - Threads

10-09-2014 1,493 views ColdFusion 7 Comments

Wow, not a good morning for one of my favorite new features of ColdFusion 11. This morning I reported on a bug found with queryExecute by a user on StackOverflow. I did some more digging and found that if you use queryExecute inside a thread, it returns an undefined value. Here is a simple test case:

Bug with queryExecute - use with caution

10-09-2014 1,409 views ColdFusion 8 Comments

One of the nicer features in ColdFusion 11 was the addition of queryExecute. It lets you run a query from cfscript easier than using the component based system that was added in the past. However, a StackOverflow user discovered an interesting bug with it.

Timing out users by role in a ColdFusion Application

10-08-2014 1,745 views ColdFusion 9 Comments

Late last month a reader asked me if it was possible to override the session timeout so that he could provide different time outs based on a user role. As far as I know there is no direct way of doing this. There may be a way if you get to the underlying Java Session stuff, but I recommended something simpler - if you keep a variable for when the user last hit your site and do a quick time check, you can easily log them out early. To be clear, this is not the same as ending the session, but honestly, thats not what he really needed. He simply needed to toggle a flag (loggedin) from true to false if that time limit had expired. I thought I'd whip up a quick set of example code to demonstrate this.

Cordova and Large Asset Downloads - An Abstract

10-07-2014 2,748 views Mobile, Development 12 Comments

Doing something a bit different today. A PhoneGap user contacted me yesterday with an interesting problem. He and I discussed it over a quick Google Hangout, and I thought I'd write up some thoughts about our discussion. Ultimately I want to build a proof of concept around this idea, but I thought I'd start first with an explanation, sans code, to see what people thought.

The problem, at a high level, involves downloading data files to a PhoneGap/Cordova application after the user has installed it. These would not be required downloads. Think more of things like DLC, or additional songs for a game, optional items. His question was how an application could be architected to support such a system. Here is what I told him. (And as always, I welcome other opinions in the comments below.)