public marks

PUBLIC MARKS from Spone with tags javascript & PhoneGap

August 2014

Introduction | Nick's Playbook to Build Apps with PhoneGap and

Instead of writing with Java, Obj-C, or C#, you'll write in Javascript, using the framework for your display code using very little HTML. We'll use the Cordova toolchain, and PhoneGap Build, to wrap the code and produce native binaries for iOS and Android. Hopefully Windows soon too. Through my experience building PhoneGap apps, I've encountered many unknowns/bugs/features, and if you've tried building a PhoneGap app, you likely have as well. From handling the Back button on Android and incorporating it into your routing, to having consistent and beautiful transitions across every page, the scope and challenges of building an end-to-end PhoneGap app can expand quickly. This guide is a series of patterns that can be used to augment existing knowledge, or as a reference resource.

February 2014


localForage is a handy library that improves the offline experience of your web app by using asynchronous storage (via IndexedDB or WebSQL where available) but with a simple, localStorage-like API. localForage includes a localStorage-backed fallback store for browsers with no IndexedDB or WebSQL support. This means that asynchronous storage is available in Chrome, Firefox, and Safari (including Safari Mobile).