Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


It's a fact: if you know HTML, CSS, and JavaScript, you already have the tools you need to develop your own iPhone apps. With this book, you'll learn how to use these open source web technologies to design and build apps for both the iPhone and iPod Touch, on the platform of your choice -- without using Objective-C, Xcode, or Interface Builder.

What are the advantages? Device-agnostic apps are the wave of the future, especially for mobile devices, and this book shows you how to create one product that can be used on several platforms. You'll get guidelines for quickly converting your product into a native iPhone app, using the free PhoneGap framework. And you'll learn why releasing your product as a web app first helps you find, fix, and test bugs much faster than if you went straight to the App Store with a product built with Apple's tools.

  • Build iPhone apps using tools you already know how to use

  • Compare the pros and cons of web apps and native iPhone apps

  • Learn how to make an existing website look and behave like an iPhone app

  • Add native-looking animations to your web app using jQTouch

  • Take advantage of client-side data storage with apps that run even when the iPhone is offline

  • Hook into advanced iPhone features (accelerometer, geolocation, vibration, and sound) with JavaScript

Subscriber Reviews

Average Rating: 3.75 out of 5 rating Based on 4 Ratings

"Needs an update" - by rumblestrut on 19-APR-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Well written, but sadly, this book is horribly out of date. My how things change in just a few years time!

Will we see an update with jQuery Mobile instead?

Report as Inappropriate

"programmer" - by rm on 23-SEP-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Great fast start to building a web based app that looks like a native i-phone app.  Assumes you know HTML, javascript already so it jumps right in which is good.  Lots of simple source code to get you started quickly, basically step by step examples with necessary libraries and tools to make it easy.  Can't find the source however so I'll have to cut/paste which is a bit of a pita.

Also includes info on accessing iphone hardware/services via PhoneGap, but to do this you have to package your app for the app store by the look of it.  This seems to be a real shortcoming of the iphone.  Apple needs to open up the hardware to javascript.  If PhoneGap were part of the OS, web apps could do things like access the phonebook, take pictures etc.  

I'm also reading a short Ajax and Web Services book by Mark Pruett, a good match if you want to do web services from the iPhone using javascript.

Update: source code can be found in 'extras' tab accessed off the main page for this book.  (search around you'll find it.  I'm new to O'Reilly online)

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Building iPhone Apps with HTML, CSS, and JavaScript

  • Catalog Page

Visit the errata page for Building iPhone Apps with HTML, CSS, and JavaScript

  • Errata

Download the supplemental electronic content for Building iPhone Apps with HTML, CSS, and JavaScript

  • Supplemental Content