Twitter: raymondcamden


Address: Lafayette, LA, USA

Nunjucks templating by Mozilla

10-15-2014 2,821 views JavaScript 7 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 2,636 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 5,627 views Mobile, Development, Design, JavaScript 3 Comments

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 5,870 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.

Ionic has a CDN (use with caution)

10-02-2014 2,262 views Mobile, Development, JavaScript, HTML5 Comments

I kinda stumbled upon this by accident, but Ionic has a CDN you can find here:

Syncing Edge Animate with Window Scroll

09-29-2014 3,140 views Development, Design, JavaScript 5 Comments

Recently I've come across a few sites that will tie window scrolling with animation. When used in a subtle, small fashion, this is kind of cool. When used to change large portions of the view or really screw with scrolling, I detect it. Like most things, it all comes down to how you use it I suppose. But I was thinking recently - how can we do this with Edge Animate? Turns out it is rather simple.

Another IndexedDB Bug - Possibly

09-26-2014 2,539 views JavaScript Comments

While looking at another IndexedDB bug with Safari (https://bugs.webkit.org/show_bug.cgi?id=136155), I encountered a bug with Chrome. It was a bit awkward to describe so I decided to make a quick video. I'd greatly appreciate it if folks could try and recreate this. If so, I'll file a bug with the Chrome team.

IndexedDB on iOS 8 - Broken Bad

09-25-2014 13,506 views Mobile, JavaScript, HTML5 33 Comments
Let me begin by saying that credit for this find goes to @jonnyknowsbest on Twitter and his SO post here: Primary Key issue on iOS8 implementation of IndexedDb. I did my research into this issue early this morning and I hope that I, and jonny, are both wrong. I'd love to be wrong about this. Unfortunately, I don't think that is the case.

So, as you know, iOS 8 finally brought IndexedDB to Mobile Safari. I may be biased, but I find features like this far more useful than CSS updates. Not to say that I don't appreciate them, but to me, deep data storage on the client is something that is more practical and useful to more people. Of course, I work for a company that is all about designers and not developers, so what do I know? ;)

Browser as a platform for your PhoneGap/Cordova apps

09-24-2014 18,960 views Mobile, Development, JavaScript 33 Comments

This is a pretty exciting change. If you've recently updated to the latest version of Cordova, you will notice that a new platform exists: browser. What exactly does this mean? It means the browser is now (well, becoming) a viable way to test your PhoneGap/Cordova applications. For a long time now I've done a lot of my development in the browser. Most of the time I'm not concerned about some random Cordova feature, instead I'm more concerned about something else. So I'll skip, or mock, a Cordova feature and focus on the important stuff. But eventually I hit that point where I need to do something via a core plugin and then I leave the desktop. Now we have an alternative.

Safari Remote Debug and IndexedDB

09-24-2014 1,667 views JavaScript Comments

I just tweeted this on - er - Twitter - but I thought I'd expand a bit on it here. As you may know, iOS 8 adds support for IndexedDB. This is really good news for your mobile web sites and hybrid applications. What I wasn't sure of though was whether or not Safari Remote Debugging would support IndexedDB. Chrome has a great IndexedDB browser and while you can still debug without it using commands in the console, the visual debugger is a lot easier to use. Turns out Safari has it as well: