Mobile HTML5.pdf

(16765 KB) Pobierz
www.it-ebooks.info
www.it-ebooks.info
Mobile HTML5
Estelle Weyl
www.it-ebooks.info
Mobile HTML5
by Estelle Weyl
Copyright © 2014 Estelle Weyl. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editors:
Simon St. Laurent and Meghan Blanchette
Production Editor:
Kristen Brown
Copyeditor:
Kiel Van Horn
Proofreaders:
Troy Mott and Jasmine Kwityn
November 2013:
First Edition
Indexer:
Lucie Haskins
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the First Edition:
2013-11-12:
First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449311414
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
Mobile HTML5,
the image of a Racket-tailed Drongo, and related trade dress are trademarks of
O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐
mark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
ISBN: 978-1-449-31141-4
[LSI]
www.it-ebooks.info
Table of Contents
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Native Applications Versus Web Applications
What’s New(t)? New Elements and APIs
What’s New in CSS?
Mobile-Specific Considerations
Why This Book?
What’s in This Book
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
CubeeDoo: HTML5 Mobile Game
Development Tools
Text Editor
Browser
Debugging Tools
Desktop Debuggers
Remote Debugging
Testing Tools
Emulators and Simulators
Online Tools
Phones
Automated Testing
HTML5 Syntax
Elements
xii
xvii
xix
xx
xx
xxii
xxiii
xxiii
xxiv
xxiv
xxv
2
4
4
5
5
6
8
15
15
17
18
20
1. Setting the Stage to Learn Mobile HTML5, CSS3, and JavaScript APIs. . . . . . . . . . . . . . . . 1
2. Upgrading to HTML5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
24
24
iii
www.it-ebooks.info
Zgłoś jeśli naruszono regulamin