Book description
It seems that everyone and her sister has developed an iPhone App—everyone except you, the hard-working web professional. And now with the introduction of the iPad, you may even feel farther behind. But the time has come where you don't need to struggle through Objective-C or master Apple's Cocoa touch APIs. WebKit's support for HTML5 means any ambitious web developer can join Apple's second mobile App wave and create compelling apps that address the unique features of both the iPhone and the larger iPad.
Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript takes you through every aspect of the latest Mobile Web Standards as well as the specific features of the iPhone and iPad. You'll go beyond Web 2.0 and Ajax to learn about WebKit and Mobile Safari, HTML5 and CSS3, Vector Graphics and Multimedia support. You'll discover what built-in hardware features of the iPhone and iPad you can use and how to take advantage of these device-specific capabilities.
The market for Web apps is expanding and the combination of iPhone and iPad makes this a very hot area—as well as a competitive one. You'll want to know about all the advantages available to get ahead and stay ahead, and Beginning iPhone and iPad Web Apps is the perfect starting point.
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
I. Getting Started with Web App Development
- 1. Development Tools
- 2. Development Environment
-
3. Introducing Developer and Debugging Tools
- 3.1. Making Friends with WebKit's Developer Tools
- 3.2. Overview of the Web Inspector
- 3.3. Master Your Code
- 3.4. The Resources Viewer
- 3.5. Debugging JavaScript
- 3.6. The Life Cycle of Your Page
- 3.7. Profiling Your Scripts
- 3.8. Client-Side Data Storage
- 3.9. Auditing Your Page
- 3.10. Still Unsure?
- 3.11. Summary
-
II. Web App Design with HTML5 and CSS3
- 4. The Anatomy of a Web Application
- 5. User Experience and Interface Guidelines
-
6. Interesting CSS Features for Your Web Application User Interface
- 6.1. Improving the User Experience with CSS
- 6.2. Selectors
- 6.3. Advanced Handling of Backgrounds
- 6.4. Colors
- 6.5. Using Gradients
- 6.6. Boxes and Borders
- 6.7. Shadows
- 6.8. Adding a Button to Your Header
- 6.9. Columns Layout
- 6.10. The Flexible Box Model
- 6.11. Targeting WebKit Specifically
- 6.12. Summary
-
7. Bitmap and Vector Graphics and Downloadable Fonts with Canvas and SVG
-
7.1. Working with the Canvas Area
- 7.1.1. The Drawing Context
- 7.1.2. Drawing Simple Shapes
- 7.1.3. Colors, Gradients, and Patterns
- 7.1.4. More Complex Shapes with Paths
- 7.1.5. Applying Transformations
- 7.1.6. Simplifying Drawing State Modifications
- 7.1.7. Using Text
- 7.1.8. Shadows
- 7.1.9. Clipping and Compositing
- 7.1.10. Working with Canvas Pixels
- 7.2. Using Vector Graphics
- 7.3. Preinstalled and Downloadable Fonts
- 7.4. Summary
-
7.1. Working with the Canvas Area
- 8. Embedding Audio and Video Content in Your Web Application
-
9. Handling Transformations, Animations, and Special Effects with CSS
- 9.1. Transform Your Elements
- 9.2. Working in a Three-Dimensional Environment
- 9.3. Combining Styles with JavaScript
- 9.4. Transitions
- 9.5. Getting Ready for a Cover Flow–Like Experience
- 9.6. Advanced Animations and Key Frames
- 9.7. Special Effects with CSS
- 9.8. Create an iOS-Like Tab Bar Using Masks
- 9.9. Summary
-
III. Going Futher with JavaScript and Web Standards
- 10. An Object-Oriented JavaScript Programming Primer
- 11. Cross-Document Communication
- 12. Ajax and Dynamic Content
- 13. Using Touch and Gesture Events
-
14. Location-Aware Web Applications
- 14.1. The Geolocation API
- 14.2. Getting the Current Position
- 14.3. Putting the User on a Map with Google Maps
- 14.4. Tracking the User's Position
- 14.5. From Data to Math
-
14.6. Building a Compass Web App
- 14.6.1. Create the Mobile Elements
- 14.6.2. The Graduations
- 14.6.3. The Needles
- 14.6.4. The Dial Shine
- 14.6.5. Render the Compass
- 14.6.6. Add Elements to the Document
- 14.6.7. Prepare the Document to Receive Location Data
- 14.6.8. Use Location Data
- 14.6.9. Animate the Compass
- 14.6.10. Prevent Staggering Needles
- 14.7. Summary
-
15. A Better Handling of Client-Side Data Storage
- 15.1. Different Storage Areas
-
15.2. SQL Local Database
- 15.2.1. Opening the Database
- 15.2.2. Creating Tables
- 15.2.3. Adding Data to Tables
- 15.2.4. Querying Data from the Tables
- 15.2.5. Updating Data
- 15.2.6. Using Database in Place of Storage
- 15.2.7. Handling Transaction and Query Errors
- 15.2.8. Maintaining Coherent Access with Versioning
- 15.2.9. Deleting the Database
- 15.2.10. Security Again
- 15.3. Offline Web Application Cache
- 15.4. Summary
Product information
- Title: Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript
- Author(s):
- Release date: November 2010
- Publisher(s): Apress
- ISBN: 9781430230458
You might also like
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
book
WordPress Plugin Development Cookbook - Third Edition
Create plugins for WordPress through detailed recipes that cover the creation of shortcodes, custom post types, …
book
What Is DesignOps?
Design is no longer a value-add that only some companies choose to afford. In today’s marketplace …
book
Java For Everyone: Compatible with Java 5, 6, and 7, 2nd Edition
Authoritative but accessible information on Java programming fundamentals As one of the most popular programming languages …