HTML5 and JavaScript Web Apps (2013), Książki
[ Pobierz całość w formacie PDF ]
HTML5 and JavaScript Web Apps
Wesley Hales
HTML5 and JavaScript Web Apps
by Wesley Hales
Copyright © 2013 Hales Consulting, Inc.. 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 (
. For more information, contact our corporate/
institutional sales department: 800-998-9938 or
Editors:
Simon St. Laurent and Meghan Blanchette
Production Editor:
Christopher Hearse
Copyeditor:
Linda Laflamme
Proofreader:
Linley Dolby
Indexer:
Meghan Jones
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
October 2012:
First Edition
Revision History for the First Edition:
2012-10-26
First release
See
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
HTML5 and JavaScript Web Apps
, the image of a cornetfish, and related trade dress are trade‐
marks 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-32051-5
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1.
Client-Side Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Before HTML5 2
More Code on the Client 3
The Browser as a Platform 4
Conclusion 5
2.
The Mobile Web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Mobile First 8
Deciding What to Support 8
Mobile Web Browsers 9
Mobile Browser Market Share 13
Browser Grading 14
HTML5 in the Enterprise 15
Graceful Degradation 16
QA and Device Testing 16
3.
Building for the Mobile Web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Mobile Web Look and Feel 19
The Look 20
The Feel 21
Interactions and Transitions 23
Sliding 23
Flipping 27
Rotating 29
Debugging Hardware Acceleration 31
Memory Consumption 36
Fetching and Caching 37
Network Type Detection and Handling 43
iii
[ Pobierz całość w formacie PDF ]
zanotowane.pl doc.pisz.pl pdf.pisz.pl chiara76.opx.pl
HTML5 and JavaScript Web Apps
Wesley Hales
HTML5 and JavaScript Web Apps
by Wesley Hales
Copyright © 2013 Hales Consulting, Inc.. 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 (
. For more information, contact our corporate/
institutional sales department: 800-998-9938 or
Editors:
Simon St. Laurent and Meghan Blanchette
Production Editor:
Christopher Hearse
Copyeditor:
Linda Laflamme
Proofreader:
Linley Dolby
Indexer:
Meghan Jones
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
October 2012:
First Edition
Revision History for the First Edition:
2012-10-26
First release
See
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
HTML5 and JavaScript Web Apps
, the image of a cornetfish, and related trade dress are trade‐
marks 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-32051-5
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1.
Client-Side Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Before HTML5 2
More Code on the Client 3
The Browser as a Platform 4
Conclusion 5
2.
The Mobile Web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Mobile First 8
Deciding What to Support 8
Mobile Web Browsers 9
Mobile Browser Market Share 13
Browser Grading 14
HTML5 in the Enterprise 15
Graceful Degradation 16
QA and Device Testing 16
3.
Building for the Mobile Web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Mobile Web Look and Feel 19
The Look 20
The Feel 21
Interactions and Transitions 23
Sliding 23
Flipping 27
Rotating 29
Debugging Hardware Acceleration 31
Memory Consumption 36
Fetching and Caching 37
Network Type Detection and Handling 43
iii
[ Pobierz całość w formacie PDF ]