A few weeks ago I was discussing the state of mobile apps with a co-worker and was curious what kinds of things could be supported using in a web application on a mobile device. I started looking for “gesture web app mobile” and stumbled across this book:
Building iPhone Apps with HTML, CSS, and JavaScript
Making App Store Apps Without Objective-C or Cocoa
by Jonathan Stark
Note the subtitle – “without Objective-C!” I’ve assumed that to any kind of development on a iPhone, you were immediately locked into Objective-C, a pricy mac, iTunes, etc.
It turns out this is not the case! With the help of toolkits such as jQTouch and jQuery Mobile most of the work is done for you. Styling, events all get wired up. There is even support for mobile device specific gestures such as swipe. All you need is an idea, some html and some JavaScript.
This discovery was nothing less than a revelation to me. Everything I know about web development can be put to immediate use building web apps for mobile devices. Further reading on HTML 5 revealed additional features available today such as SQL Database, local storage, and – get this – offline apps. An offline web app – I still can’t believe this one. A web page that can be cached locally on the device, loaded and run without any network. Unbelievable! Felt just like the day – 30 some odd years ago – when someone showed me what a macro assembler was and explained I didn’t have to do 6502 hex jump math in my head anymore!
I quickly ordered a copy of the book and devoured it. I then set about to build the mobile Shopping List app my wife has always wanted.
I’m going to re-start my blog with a series of posts on some of the things I learned as I ventured into this new and (mostly) familiar landscape. Stay tuned!
By the way you can also read the book online for free here: http://ofps.oreilly.com/titles/9780596805784/