CARVIEW |
Building iPhone Apps with HTML, CSS, and JavaScript
Making App Store Apps Without Objective-C or Cocoa
- By
- Jonathan Stark
- Publisher:
- O'Reilly Media
- Released:
- January 2010
- Pages:
- 192
It's a fact: if you know HTML, CSS, and JavaScript, you already have what you need to develop your own iPhone apps. With this special Early Release ebook, 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. Device-agnostic apps are the wave of the future, especially for mobile devices, and this book shows you how to create, test, and convert one product that can be used on several platforms.
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 Software
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 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 Xcode
This book received valuable community input through O'Reilly's Open Feedback Publishing System (OFPS). Learn more at https://labs.oreilly.com/ofps.html.
-
Chapter 1 Getting Started
-
Web Apps Versus Native Apps
-
Web Programming Crash Course
-
-
Chapter 2 Basic iPhone Styling
-
First Steps
-
Adding the iPhone CSS
-
Adding the iPhone Look and Feel
-
Adding Basic Behavior with jQuery
-
What You’ve Learned
-
-
Chapter 3 Advanced iPhone Styling
-
Adding a Touch of Ajax
-
Traffic Cop
-
Simple Bells and Whistles
-
Roll Your Own Back Button
-
Adding an Icon to the Home Screen
-
Full Screen Mode
-
What You’ve Learned
-
-
Chapter 4 Animation
-
With a Little Help from Our Friend
-
Sliding Home
-
Adding the Dates Panel
-
Adding the Date Panel
-
Adding the New Entry Panel
-
Adding the Settings Panel
-
Putting It All Together
-
Customizing jQTouch
-
What You’ve Learned
-
-
Chapter 5 Client-Side Data Storage
-
localStorage and sessionStorage
-
Client-Side Database
-
What You’ve Learned
-
-
Chapter 6 Going Offline
-
The Basics of the Offline Application Cache
-
Online Whitelist and Fallback Options
-
Creating a Dynamic Manifest File
-
Debugging
-
What You’ve Learned
-
-
Chapter 7 Going Native
-
Intro to PhoneGap
-
Installing Your App on the iPhone
-
Controlling the iPhone with JavaScript
-
What You’ve Learned
-
-
Chapter 8 Submitting Your App to iTunes
-
Creating an iPhone Distribution Provisioning Profile
-
Installing the iPhone Distribution Provisioning Profile
-
Renaming the Project
-
Prepare the Application Binary
-
Submit Your App
-
While You Wait
-
Further Reading
-
-
Colophon

- Title:
- Building iPhone Apps with HTML, CSS, and JavaScript
- By:
- Jonathan Stark
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- January 2010
- Ebook Release:
- January 2010
- Pages:
- 192
- Print ISBN:
- 978-0-596-80578-4
- | ISBN 10:
- 0-596-80578-0
- Ebook ISBN:
- 978-1-4493-8004-5
- | ISBN 10:
- 1-4493-8004-2
-
Jonathan Stark
Jonathan Stark is a mobile and web application consultant who the Wall Street Journal has called an expert on publishing desktop data to the web. He has written two books on web application programming, is a tech editor for both php|architect and Advisor magazines, and has been quoted in the media on internet and mobile lifestyle trends. Jonathan began his programming career more than 20 years ago on a Tandy TRS-80 and still thinks Zork was a sweet game.
The animal on the cover of Building iPhone Apps with HTML, CSS, and JavaScript is a bluebird (genus Sialia, family Turdidae). Although they are predominantly blue in color, bluebirds can have vivid shades of red dispersed throughout their plumage. Unlike other species of birds, no discernible difference exists in the color patterns of male and female bluebirds.
The birds are territorial by nature and favor open grasslands with scattered trees. Males will identify nest sites among the trees and will try to attract prospective mates by singing, flapping their wings, and then depositing some material within the cavities of those trees. If a female accepts the male's entreaties and one of the nesting sites, she alone will build the nest for the home.
Bluebirds are unique to North America, and bird lovers often attract them to their backyards with feeders full of darkling beetles and mealworms. Bluebirds are also fond of eating raisins soaked in water and bathing in heated birdbaths.
The bird is popularly thought of as a symbol of optimism, although occasionally this symbolism goes into shadowier terrain.
Some dream interpreters say the image of a dead bluebird represents disillusionment, a loss of innocence, and a transition from a younger, more na ve self to a wiser one, while the image of a live bluebird represents spiritual joy and contentedness, or a longing for such a state. Judy Garland's character Dorothy in The Wizard of Oz perhaps exemplifies this longing when she sings about happy little bluebirds in the song "Somewhere over the Rainbow."
The cover image is from Johnson's Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |