For the past few days I've been playing with a new, and rather interesting, mobile debugging tool called GapDebug. Currently in private beta, it will switch to an open beta around July 9th. You can sign up on the site to get notified when it becomes available.
I've begun work on trying to answer the questions I gathered concerning Cordova's FileSystem support. As I work through the questions I'm trying to build "real" samples to go along with the text. My first sample is a simple one, but I think it is pretty relevant for the types of things folks may do with Cordova and the file system - checking to see if a file exists locally and if not - fetching it.
A few months ago I launched a new GitHub repo (https://github.com/cfjedimaster/Cordova-Examples) as a way to try to collect my various Cordova examples together under one roof. I had planned to add to it regularly but - life - as you know - gets in the way. I've finally gotten around to adding another example, this one for the Media API.
My latest article for Tuts (this time Game Tuts) is now live. In this article I take a deep look at the gamepad API. I blogged about this a while ago but it has finally become (somewhat) more available to modern browsers. And yes, before someone says it, 'more available' doesn't mean 100%. Anyway, I hope you enjoy it: Using the HTML5 Gamepad API to Add Controller Support to Browser Games
I believe this is the first time this particular presentation has been available, but if I'm wrong, forgive me. My NCDevCon talk on Practical HTML5 is now available for watching online: Practical HTML5. Along with my talk, you can find many others available on their blog. And by the way - NCDevCon has an open call for presentations. This is a great little conference that I've been privileged to attend a few times. I probably won't make it this year due to prior commitments, but I definitely recommend it.
Just a quick note to detail some interesting issues I ran into last night. I was writing a very simple report tool for a client. He has a process that runs a large set of MLS queries and does a lot of - well - stuff. It is a slow process so I've set it up so that it runs one day at a time based on a simple URL parameter. While this works well enough he asked if I could build a simple front end to it so he could select two dates and have it process each day one by one. Simple, right?
So, in my last post on this topic, I mentioned that I was surprised at how many times this "simple" topic kept coming up on my blog. In a way, this has turned into the series that just won't die - no matter how many times I think I've covered every little detail.
So I know (think?) there is a significant portion of my audience who do not use Twitter, and for those of you who have avoided that trap (don't let anyone fool you, it is a trap), you may have missed me recently raving about the Ionic Framework. Briefly, Ionic is a way to work with Cordova/PhoneGap apps using Angular directives. It has an incredible collection of UI and UX controls that can be helpful to you. I'm still new to Angular and I've found their controls easy to use. I plan on blogging about this a bit more later, but I wanted to tell you about something else these folks created - ngCordova.
I'm just passing this along, but I think folks who are doing work in the mobile space and making use of tools like Cordova may find this useful: Code Injection Attacks on HTML5-based Mobile Apps. It is a bit long winded and repetitive, and also a bit out of date (it talks about PhoneGap and how it ships a set of core plugins, which hasn't been true since 3.0). It also makes some pretty odd statements like, apparently, the same HTML, CSS, and JS works the same across different platforms. Yeah, I'd love to live in that world. But despite that, it does make a good point about XSS and hybrid applications. Read it - digest it - and think about it.
Also be sure to read the recently released Security Guide for Cordova.
Over the holiday weekend Cordova 3.5.0 was released. You can read details about the update here: Apache Cordova 3.5.0. Another update was to the documentation, which now includes a What's Next guide that talks about what Cordova developers should learn, think about, and bookmark for future reference after they've learned the basics. I think this is an important piece of documentation and I'm happy to see it finally published. (Oh, and I may be a bit biased as I wrote the first draft. ;)
Also released is a new Security Guide for Cordova developers. Definitely check this out as well.