Nope - not one of my articles, but one by Brian Rinaldi. Brian's article looks at three different static site engines and compares and contrasts them. It is a great article and as my readers know, I've been doing a lot with static site generators lately.
It has been a while since I posted a video game review so today I'm going to make up for that by posting not one, but three. Enjoy.
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.
Just a quick note to say that I'll be a bit quiet this week as Adobe shut down for the week and I'll be (hopefully!) catching up on some house work. Also - an article I wrote for the awesome Flippin' Awesome went live this morning: Easy and Shareable Local Web Servers with Fenix. I hope you enjoy it.
Recently, a commenter on another blog mentioned that one of the things they missed from Dreamweaver is the ability to do a search and then export the results. I didn't even know DW had this and it does sound rather useful!
Just blogging this as I had trouble Googling for a solution when it hit me. I've been doing ObjectiveC work lately for the CreativeSDK project and I kept running into an odd problem. I'd set up a simple project, do some work on it, and when I returned the next day, any use of the CreativeSDK would fail. If I removed the frameworks and bundles from my project and re-added them, it worked again. The first time (OK, the first few times) this happened, I just assumed I made a mistake when adding it, but when it happened consistently, I figured something was up.
A large majority of the questions I get about PhoneGap and Cordova revolve around the file system API. It has had some pretty significant updates recently but still remains one of the most difficult ones to use. I've been putting off really digging deep into those questions because many times they are incredibly specific to a particular user's application. And - honestly - they typically don't lend themselves to the type of quick questions I can answer during the day.
So with that in mind, I thought it might be fruitful to ask my readers about the API and how I can help make things a bit clearer - for both you and me. What I'm thinking is - can we come up with a list of basic questions, a FAQ perhaps, for just this API. It can't be something too precise to one particular application, but something that can apply to multiple users.
As an example: How do I download an asset to my application? That's a simple question, but it brings up the question of where you would download the asset and how you would actually use it later.
Of course, the big issue is that this particular API is an evolving one. Anything I do today will be outdated next year. But as most of my blog posts on the API are already over a year old, this would at least be a bit fresher. ;)
In order to organize this list, I'm going to start it in the blog entry. Use the comments to make suggestions, and as I see ones that I think make sense, I'll add them to the list. By the way, I know some of these are super trivial, but I figure it doesn't hurt to try to cover as much as possible.
File System FAQ
- When does it make sense to use the file system (versus LocalStorage or WebSQL)?
- How do I download an asset to my application?
- How do I use a file stored in the file system (both binary and text-based files)?
- How do I check to see if a file exists in a directory?
- Are there external tools that can check a device's file system?
- How do I check to see if a directory exists?
- How do I make a subdirectory where the parent directory may not exist?
- Are there any app store restrictions/guidelines for using the file system?
- For iOS, where can I store files so that they will be backed up to iCloud?
- How can I get metadata (size, updated) about a file?
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