Learn HTML5 and JavaScript for iOS [electronic resource] : Web Standards-based Apps for iPhone, iPad, and iPod touch /
Preston, Scott.author.
You have a great idea for a simple mobile web app. Or, you have a great idea for a complicated mobile web app. Either way, Learn HTML5 and JavaScript for iOS will help you build, fine-tune, and publish your app for iPhone, iPad, or iPod touch. Scott Preston will walk you through building a mobile web app from scratch using real-world examples. You'll learn about design considerations, mobile web frameworks, and HTML5 features like animation and graphics using Canvas. You'll also learn how to customize your app for a variety of platforms, and you'll explore testing and performance tips for your app. Get an overview of HTML5, JavaScript, and mobile web frameworks Discover tips for iOS usability as well as performance Dig into features like images, animation, and even geolocation.
User level: beginning-intermediate.
Description based upon print version of record.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Preface; The Companion Site; Companion Site Reference; The Real World Example Site; Downloading the code; Contacting the Author; CHAPTER 1 Getting Started; Your Browser (Mobile Safari); Planning Your Project; Local Environment; Remote Environment (Hosting); Bug and Feature Tracking; Version Control; Deployments; Editor (IDE or Text Editor); Site Integration; Site Maps; Wireframes; Project Tracking and Management; Application Components; Organizing Your Files
Subdomain (m.domain.com)Subdirectory /m or /mobile; Files to Organize; How to link your files; What about multiple devices?; Browser Redirection; Apache Redirection; JavaScript Redirection; ; Screen Size and Viewport; The Sample App; Summary; CHAPTER 2 HTML5 in Short; What Is HTML5?; It's Not XHTML; It's Not HTML4 +1; HTML5 Is Not Just Markup; Selectors; Canvas and Drawing; Media Playback; Offline Storage; Local and Session Storage; Document Editing; Document Messaging; Web Sockets; Drag and Drop; History Management; Microdata; Geolocation; File API; Web Workers; HTML5 Support
HTML5 OverviewDOCTYPE and UTF-8; New Attributes; New Structural Tags; New Media Tags; New Form Tags; New Form Input Types; Sample Form Code; Additional Form Element Attributes; Removed Tags; Choosing HTML5 Features to Use in Your Apps; Putting It All Together; Adding the New Structural Elements to the Homepage; A Sample Contact Form with Validation; Chapter Summary; CHAPTER 3 CSS3 and iOS Styling; What is CSS3?; CSS Basics; Using Your CSS; ; @import; The Structure of CSS; CSS Browser Extensions; Media Queries and Media Selectors; orientation; device-width; -webkit-min-device-pixel-ratio
Media Selector ExampleSaving to the Home Screen; A Short Overview of CSS3; Animation; Backgrounds; Borders; Fonts; 2D/3D Transforms; Transitions; Text Effects; Styling for iOS; Styling a Header; Styling a List; Step 1: Create the HTML; Step 2: Format the List; Step 3: Add the Chevron; Creating a Button; Step 1: Create the HTML; Step 2: Size, Color, and Shadow the Buttons; Step 3: Add Border Images; Overflow (iOS5); iPhone Fixed Footer Example; iPad Split View Example; Putting It All Together; Device and Orientations; Full Screen Web App; Chapter Summary; CHAPTER 4 JavaScript and APIs
About JavaScriptUsing JavaScript; Externalizing JavaScript; Creating Objects and Using Namespaces; Events; window.onload and DOMContentLoaded; body.onload; window.onhashchange; window.onorientationchange; Dialogs; Safari JavaScript Console; Creating an API; Getting Remote Data with AJAX; Response Data Matrix; JSON (JavaScript Object Notation); DOM Manipulation; Creating Elements and Adding Events; JavaScript Frameworks; What's a JavaScript Framework?; jQuery; Putting It All Together; Chapter Summary; CHAPTER 5 Mobile Frameworks; Overview of jQuery Mobile; Working with Pages; Page Data-Role
What's a Page?
Includes companion site references (p. 249-262) and index.
You have a great idea for a simple mobile web app. Or, you have a great idea for a complicated mobile web app. Either way, Learn HTML5 and JavaScript for iOS will help you build, fine-tune, and publish your app for iPhone, iPad, or iPod touch. Scott Preston will walk you through building a mobile web app from scratch using real-world examples. You'll learn about design considerations, mobile web frameworks, and HTML5 features like animation and graphics using Canvas. You'll also learn how to customize your app for a variety of platforms, and you'll explore testing and performance tips for your app. Get an overview of HTML5, JavaScript, and mobile web frameworks Discover tips for iOS usability as well as performance Dig into features like images, animation, and even geolocation.
User level: beginning-intermediate.
iOS (Electronic resource)
Apple computer.
Application software.
Apple and iOS.
Computer Applications.