Building iPhone Apps with HTML, CSS, and JavaScript : Making App Store Apps Without Objective-C or Cocoa

  • ISBN13:


  • ISBN10:


  • Edition: 1st
  • Format: Paperback
  • Copyright: 1/28/2010
  • Publisher: Oreilly & Associates Inc

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.99 Save up to $15.74
  • Rent Book $16.49
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


What people are saying about Building iPhone Apps w/ HTML, CSS, and JavaScript"The future of mobile development is clearly web technologies like CSS, HTML and JavaScript. Jonathan Stark shows you how to leverage your existing web development skills to build native iPhone applications using these technologies." --John Allsopp, author and founder of Web Directions "Jonathan's book is the most comprehensive documentation available for developing web applications for mobile Safari. Not just great tech coverage, this book is an easy read of purely fascinating mobile tidbits in a fun colloquial style. Must have for all PhoneGap developers." -- Brian LeRoux, Nitobi SoftwareIt'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 the iPhone and iPod Touch on the platform of your choice-without using Objective-C or Cocoa.Device-agnostic mobile apps are the wave of the future, and this book shows you how to create one product for several platforms. You'll find guidelines for 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 with tools you already know how to use 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 -- including the accelerometer, geolocation, and vibration -- with JavaScript Submit your applications to the App Store with XcodeThis book received valuable community input through O'Reilly's Open Feedback Publishing System (OFPS). Learn more at http://labs.oreilly.com/ofps.html.

Author Biography

Jonathan Stark is a web developer and leading expert on publishing desktop data to the web. Past clients include Staples, Turner Broadcasting, and the PGA Tour. Jonathan is the author of the book Web Publishing with PHP and FileMaker 9, is a regular speaker at the FileMaker Developer Conference, and is a tech editor for php|architect and FileMaker Advisor magazines.

Table of Contents

Prefacep. xi
Getting Startedp. 1
Web Apps Versus Native Apps?p. 1
What Is a Web App?p. 1
What Is a Native App?p. 1
Pros and Consp. 2
Which Approach Is Right for You?p. 2
Web Programming Crash Coursep. 3
Intro to HTMLp. 3
Intro to CSSp. 6
Intro to JavaScriptp. 9
Basic iPhone Stylingp. 13
First Stepsp. 14
Preparing a Separate iPhone Stylesheetp. 16
Controlling the Page Scalingp. 17
Adding the iPhone CSSp. 19
Adding the iPhone Look and Feelp. 21
Adding Basic Behavior with jQueryp. 23
What You've Learnedp. 28
Advanced iPhone Stylingp. 29
Adding a Touch of Ajaxp. 29
Traffic Copp. 29
Simple Bells and Whistlesp. 34
Roll Your Own Back Buttonp. 40
Adding an Icon to the Home Screenp. 46
Full Screen Modep. 48
Changing the Status Barp. 48
Providing a Custom Startup Graphicp. 49
What You've Learnedp. 50
Animationp. 51
With a Little Help from Our Friendp. 51
Sliding Homep. 51
Adding the Dates Panelp. 55
Adding the Date Panelp. 56
Adding the New Entry Panelp. 58
Adding the Settings Panelp. 60
Putting It All Togetherp. 62
Customizing jQ Touchp. 64
What You've Learnedp. 67
Client-Side Data Storagep. 69
localStorage and sessionStoragep. 69
Saving User Settings to localStoragep. 70
Saving the Selected Date to sessionStoragep. 73
Client-Side Databasep. 74
Creating a Databasep. 75
Inserting Rowsp. 78
Selecting Rows and Handling Result Setsp. 82
Deleting Rowsp. 86
What You've Learnedp. 89
Going Offlinep. 91
The Basics of the Offline Application Cachep. 91
Online Whitelist and Fallback Optionsp. 94
Creating a Dynamic Manifest Filep. 98
Debuggingp. 102
The JavaScript Consolep. 103
The Application Cache Databasep. 107
What You've Learnedp. 113
Going Nativep. 115
Intro to PhoneGapp. 115
Using the Screen's Full Heightp. 121
Customizing the Title and Iconp. 123
Creating a Startup Screenp. 130
Installing Your App on the iPhonep. 131
Controlling the iPhone with JavaScriptp. 136
Beep, Vibrate, and Alertp. 136
Geolocacionp. 140
Accelerometerp. 146
What You've Learnedp. 150
Submitting Your App to iTunesp. 151
Creating an iPhone Distribution Provisioning Profilep. 151
Installing the iPhone Distribution Provisioning Profilep. 153
Renaming the Projectp. 155
Prepare the Application Binaryp. 156
Submit Your Appp. 157
While You Waitp. 159
Further Readingp. 159
Indexp. 161
Table of Contents provided by Ingram. All Rights Reserved.

Rewards Program

Write a Review