With HTML5 applications, developers are faced with new challenges, such as handling offline capable clients, merging data from the client back to their server side storage, and throttling resources based on the device connection speed. The UI is no longer generated by the server and pushed to the client. Today, developers are forced to look at web application architecture from a different perspective where the browser and JavaScript are taking just as much spotlight as server side code (such as Java or Ruby). This book shows them how.
Author(s): Wesley Hales
Edition: Early Release
Publisher: O'Reilly Media
Year: 2012
Language: English
Pages: 300
Tags: Библиотека;Компьютерная литература;HTML / CSS / JavaScript;HTML5 / CSS3;
Cover......Page 1
Mobile First......Page 2
What’s Supported......Page 3
WebKit......Page 4
Mobile Firefox......Page 5
Opera Mobile......Page 6
Mobile Browser Market Share......Page 7
HTML5 Enterprise (HTML5E)......Page 8
The Mobile Web Look and Feel......Page 9
The Mobile Web Look......Page 10
Frameworks......Page 11
Approaches......Page 21
QA and Device Testing......Page 29
Hardware Acceleration......Page 31
Sliding......Page 32
Flipping......Page 34
Rotating......Page 36
Debugging Hardware Acceleration......Page 37
Fetching and Caching......Page 42
Network Type Detection and Handling......Page 47
Mobile Debugging......Page 50
BookmarkTitle:......Page 51
Device and Feature Detection......Page 52
Feature Detection......Page 53
UA Detection......Page 54
Compression......Page 58
JavaScript Minification......Page 60
Backbone.js......Page 61
Angular.js......Page 64
Batman.js......Page 65
Knockout.js......Page 67
Building The Stack......Page 69
Programming Models......Page 70
Relaying Events From the Server to the Browser......Page 71
Binary Data over WebSockets with node.js......Page 75
Managing Proxies......Page 76
Building your own......Page 77