Twitter: raymondcamden

Address: Lafayette, LA, USA

Keep your DOM from shifting around...

08-05-2014 4,633 views Development, jQuery, JavaScript, HTML5 5 Comments

I've been meaning to write this up for a while now, but I never got around to it till today when a meeting got cancelled suddenly. It was this or get on the treadmill, and unfortunately, the treadmill lost. Lately I've noticed a common problem with both web apps and native apps. The problem is this: The application renders some sort of dynamic content. In that content are various UI elements you can click. At the same time, the app is fetching additional content asynchronously. When that content comes in, it is displayed then and the layout of the content is adjusted as the new stuff comes in. The problem is that the user may have been just about to click on a button, link, or whatever, and now finds that their click action has done nothing. Or worse - has activated another action that they didn't want. TweetDeck is especially bad about this. Facebook, surprisingly, is actually pretty darn good about this. Let's look at a simple example in case I'm not making sense.

MockData CFC Released

08-04-2014 2,174 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.

How to make a phone call via GMail

08-01-2014 2,238 views Misc 10 Comments

This falls under the "obvious" category (like probably most of my posts), but as I had trouble finding it before, I figured I'd share this tip. To make a phone call from GMail, with the new Hangouts features, follow these steps:

Read Holly's guide to the iOS Status Bar

07-31-2014 2,658 views Mobile 1 Comment

It's kinda funny - but something as simple as the iOS status bar can be confusing as quantum mechanics. Holly wrote a blog post, and an interactive web-based simulator, that explains the various settings and configurations for the status bar. It is definitely recommended reading: PhoneGap Developer's Guide to the iOS Status Bar.

P.S. Yes, this is a super short blog post, but I like to share important blog posts like this for the members of my audience lucky enough to avoid Twitter. Trust me - stay away...

Linting your ColdFusion code

07-31-2014 2,438 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.

Check out CodeSchool's Angular course

07-29-2014 2,474 views JavaScript 7 Comments

I've raved about CodeSchool before so I thought folks might be interested in knowing they have a really cool new course for AngularJS: Shaping Up with AngularJS. Best of all - the course is free. I didn't learn a lot from it as I think I've got the basics covered well, but I enjoyed going through the lessons to help reinforce my existing knowledge. As with other courses, they do a real good job of building lessons that let you code without being particular about things like tabs, spaces, whatever.

My perspective of working with the Ionic Framework

07-28-2014 5,196 views Mobile, JavaScript, HTML5 15 Comments

For a while now I've been praising the the Ionic framework as one of the coolest things to happen to Cordova/PhoneGap development. I kept promising to talk about it a bit more deeply on the blog and today I've finally gotten around to it. This will be somewhat long, and rambling, but I hope it will give readers an idea of why Ionic is so cool and why they should consider giving it a try.

Sunday OT - Wolfenstein: The New Order

07-27-2014 1,952 views Video Games Comments

I've been a fan of the Wolfenstein series for quite some time, and when I say "quite some time", I'm talking a long time. I remember playing the original Wolfenstein, back before it got fancy with 3D:

Updated/Relaunched site - Popular Followers

07-24-2014 2,401 views JavaScript, HTML5 Comments

Almost two years ago I announced the launch of a new site. It was built to display a report of your followers sorted by how many followers they had. Now - I completely recognize that this isn't necessarily an important report. But it was something I was curious about and I thought it would be cool. I'm being followed by two stars of Young and the Restless (my secret obsession), one of my favorite authors, and best of all, Game of Thrones.

An example of Cordova's Camera PopoverOptions

07-23-2014 4,391 views Mobile Comments

One of the interesting features in Cordova's Camera API is something called popoverOptions. While the docs do explain what this feature does, it may not be entirely clear how it works so I whipped up a quick example, with screen shots, to demonstrate what it does.