Safari WebKit development for iPhone OS 3.0 /
With the unparalleled success of iPhone and iPod touch, iPhone OS 3.0 has emerged as a compelling platform for which vast numbers of web developers are designing and building web-based mobile applications. This book explores the Safari and WebKit development platform that is built into iPhone OS 3.0...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Indianapolis, IN :
Wiley,
©2010.
|
Colección: | Wrox guides.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Safari and WebKit Development for iPhone OS 3.0
- About the Author
- Acknowledgments
- Contents
- Introduction
- Who This Book Is For
- What This Book Covers
- What You Need to Use This Book
- Conventions
- Source Code
- Errata
- Chapter 1: Introducing Safari/WebKit Development for iPhone 3.0
- Discovering the Safari/WebKit Platform
- What8217;s New in iPhone OS 3.0 for Web App Developers
- Four Ways to Develop Web Apps for iPhone
- The Finger Is Not a Mouse
- Limitations and Constraints
- Setting Up Your Development Environment on a Local Network
- Summary
- Chapter 2: Working with Core Technologies
- Exploring HTML 5 Media Elements
- Scripting JavaScript
- The Document Object Model
- Summary
- Chapter 3: Building with Web App Frameworks
- iWebKit
- iUI
- UiUIKit
- Summary
- Chapter 4: Designing a Usable and Navigable UI
- The iPhone Viewport
- Exploring Native iPhone Applications
- Screen Layout: Emulating Apple Design
- Designing for Touch
- Working with Fonts
- Best Practices in iPhone UI Design
- Finishing Touches: Making It Look Like a Native App
- Summary
- Chapter 5: Styling with CSS
- CSS Selectors Supported in Safari
- Text Styles
- Styling Block Elements
- Setting Transparencies
- Creating CSS-Based iPhone Buttons
- Identifying Incompatibilities
- Summary
- Chapter 6: Programming the Interface
- Top Level of Application
- Displaying a Panel with an Internal URL
- Displaying Ajax Data from an External URL
- Designing for Long Navigation Lists
- Creating a Destination Page
- Adding a Dialog
- Designing a Contact Us Page with Integrated iPhone Services
- Scripting UI Behavior
- Summary
- Chapter 7: Handling Touch Interactions and Events
- The Three Types of Touch Events
- Orientation Change
- Trapping for Key Events with the On-Screen Keyboard
- Summary
- Chapter 8: Programming the Canvas
- Identifying the User Agent
- Programming the iPhone Canvas
- Defining the Canvas Element
- Getting a Context
- Drawing a Simple Rectangle
- Drawing Other Shapes
- Drawing an Image
- Adding Color and Transparency
- Creating an Image Pattern
- Summary
- Chapter 9: Special Effects and Advanced Graphics
- Gradients
- Adding Shadows
- Adding Reflections
- Working with Masks
- Creating Transform Effects
- Creating Animations
- Summary
- Chapter 10: Integrating with iPhone Services
- Preparing the iProspector Application Shell
- Making Phone Calls from Your Application
- Sending E-Mails
- Sending SMS Messages
- Pointing on Google Maps
- Summary
- Chapter 11: Offline Applications
- The HTML 5 Offline Application Cache
- Using Key-Value Storage
- Going SQL with the JavaScript Database
- Summary
- Chapter 12: Enabling and Optimizing Web Sites for the iPhone and iPod Touch
- Tier 1: iPhone/iPod touch Compatibility
- Tier 2: Navigation-Friendly Web Sites
- Tier 3: Custom Styling
- Tier 4: Parallel Sites
- Summary
- Chapter 13: Bandwidth and Performance Optimizations
- Optimization Strategies
- Best Practices to Minimize Bandwidth
- Compressing Your Application
- JavaScript Performance Optimizations
- Loca.