Twitter: raymondcamden


Address: Lafayette, LA, USA

Eventbrite API Demos

08-15-2014 1,855 views jQuery, JavaScript, ColdFusion Comments

A few days ago a client of mine, Rich Swier of HuB, asked if I could build him two quick demos that made use of the Eventbrite API. I whipped up the two demos for him and once done, he graciously allowed me to share it on my blog. (Thank you Rich!) I will warn you that this code was written for ColdFusion 8 so it is entirely tag based. At the very end a mod was made for ColdFusion 9. Obviously it could be converted to script and perhaps improved in other ways as well, but I hope this is useful for folks who want to play with the Eventbrite API in the future.

Review: Code School's JavaScript Best Practices

08-13-2014 2,421 views JavaScript 9 Comments

Yesterday evening I finally wrapped up Code School's JavaScript Best Practices course and I thought my readers might like to know what I think. In general, this is a great course marred by poor challenges, surprisingly poor challenges, but still worth your time.

Presentation tonight on Apache Cordova

08-12-2014 2,952 views Mobile, Development, JavaScript 4 Comments

I was originally going to be presenting just to the Memphis Technology User Groups tonight, but they have graciously said they don't mind if I open this up to the public. If you want to hear me give an introduction to Cordova, join me online tonight at 6:30 CST here: https://my.adobeconnect.com/raysworld/. I will be giving priority for QA to the Memphis group of course, but all our welcome to join in and - hopefully - learn something as well. This will be over Adobe Connect so be sure to use a Flash-enabled browser.

Centering a Google Map on America

08-09-2014 2,536 views Development, JavaScript 10 Comments

Earlier this morning I was building a Google Map demo for a client (using EventBrite data - I'll share that if I can) and I needed to center a Google Map on America. There are a couple ways of doing this and I thought I'd share them along with some screen shots so you can see the results.

Avoid Zero (or super short) Application Timeouts

08-08-2014 2,513 views ColdFusion 4 Comments

So here's a doozy for you. Over the past week or so I exchanged emails with a reader who was having an odd issue with ColdFusion mappings. Specifically the code he wrote to actually use the mappings would fail to work if he used application specific mappings. Switching to mappings defined on the server fixed it.

Keep your DOM from shifting around...

08-05-2014 4,937 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,363 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,391 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,803 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,541 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.