Twitter: raymondcamden


Address: Lafayette, LA, USA

Eventbrite API Demos

08-15-2014 1,833 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.

Keep your DOM from shifting around...

08-05-2014 4,928 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.

Building a Car Safety Inspection Finder (the good, ugly, and more ugly)

06-17-2014 2,533 views jQuery, JavaScript, ColdFusion 13 Comments

Earlier this week I came across a person looking to find a local (to Louisiana) car safety inspection location. I think most states require this but they differ on schedules. Louisiana recently moved to letting you pay more for a two-year sticker which is nice, but it is still a bit of a hassle if you don't know where an inspection location can be found. Turns out - there is a web page for it: http://www.dps.state.la.us/safetydirections.nsf/f3f91999370ccaed862574a20074b158?OpenView.

PhoneGap Tip: Temporarily changing orientation for video in a portrait only application

05-24-2014 8,036 views Mobile, jQuery, JavaScript 7 Comments

That's probably the longest title I ever used for a blog post. A PhoneGap user came to me recently with an interesting problem. His application was set to be portrait only. In case you weren't aware, you can lock orientation for an application using this config.xml value:

Mimicking the GMail Delayed Message Load UX

05-07-2014 3,821 views jQuery, JavaScript, HTML5 1 Comment

Before I begin, I want to point out that the title of this blog is far more complex-sounding than what I'm actually going to demonstrate here. GMail has an interesting way to handle large mail threads. When you view it, only the most recent few emails will be visible. The rest will be collapsed and are loaded as you click them.

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

03-12-2014 4,194 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.

Using the autodivider feature in jQuery Mobile

12-17-2013 6,015 views Mobile, jQuery, JavaScript, HTML5 2 Comments

A few days ago a reader asked me an interesting question. He wanted to create a list of dates in jQuery Mobile and group them by date. Turns out, this is fairly easy using the Autodividers feature of the ListView widget.

jQuery UI Video Course

12-13-2013 3,273 views Development, jQuery, JavaScript Comments

Just a quick note to let y'all know about a new video course available for jQuery UI. Ben Fhala released a set of videos for Packt covering jQuery UI. I had the pleasure of doing a tech review on the videos a few months back and I thought they were pretty well done. I haven't really talked much about jQuery UI lately but I've got a lot of respect for it. You can find more details about the video product here and watch a sample below.

Building a Quiz Manager for jQuery Mobile

12-05-2013 10,097 views Mobile, jQuery, JavaScript, HTML5 69 Comments

A few weeks ago a reader asked if I had ever designed a quiz for jQuery Mobile. While I had not, I spent some time thinking about how a quiz could be designed as well as how a generic library could help automate it. I've built a demo I'd like to share with folks. It is definitely "First Draft" (but hey, it lints!) so feel free to tear it apart and suggest improvements.

Building a Contact Form with Parse and Mailgun

11-12-2013 8,886 views jQuery, JavaScript, HTML5 8 Comments

I'm currently working on an article that discusses various third party services that can help flesh out a static web site. While researching that article, I got to thinking about contact forms and how (or if) I could use Parse to power them. Parse is built for ad hoc data storage of - well - anything. I wouldn't typically think of contact forms as being something I'd want to save, but the more I thought about it, the more I thought that in some organizations this could be a powerful feature. You can track communication over time as well as use the email addresses as a list to contact in the future. There are probably multiple ways of doing this, but here is what I came up with.