This hands-on book shows you how to work with HTML5, JavaScript MVC frameworks, and the latest W3C specifications to build mobile and desktop web apps that are widely supported across all browsers and devices. You’ll quickly master building client-side applications with a loosely coupled backend infrastructure that supports offline clients.
Learn how to incorporate web storage, web workers, geolocation, Device Orientation, and WebSockets into your application architecture, using real-world examples. If you’re familiar with server-side programming and understand the basics of HTML5, this book is for you.
- Assemble a coherent architectural whole from HTML5’s complex collection of parts
- Gain a clear understanding of client-side architecture and the “mobile first” approach
- Design, create, and tune eye-catching and robust mobile web apps
- Explore how the top five JavaScript MVC frameworks interact with the server
- Learn best practices for setting up a raw WebSocket server
- Examine how sites such as Google, Twitter, and Amazon store data
- Use real-world methods for applying geolocation, and learn the pitfalls of various implementations
- Process images and other data in the background with Web Workers
Table of Contents
Chapter 1 Client-Side Architecture
Before HTML5
More Code on the Client
The Browser as a Platform
Conclusion
Chapter 2 The Mobile Web
Mobile First
Deciding What to Support
Mobile Browser Market Share
Browser Grading
HTML5 in the Enterprise
QA and Device Testing
Chapter 3 Building for the Mobile Web
Mobile Web Look and Feel
Interactions and Transitions
Fetching and Caching
Network Type Detection and Handling
Frameworks and Approaches
Chapter 4 The Desktop Web
The Browser as a Platform
Device and Feature Detection
Compression
JavaScript MVC Frameworks and the Server
Chapter 5 WebSockets
Building the Stack
Programming Models
Chapter 6 Optimizing with Web Storage
The Storage API
The StorageEvent API
Using JSON to Encode and Decode
Security and Private Browsing
Who’s Using Web Storage?
Syncing Data from the Client Side
Using Web Storage in Any Browser
Frameworks
Chapter 7 Geolocation
A Practical Use Case: User Tracking
A Practical Use Case: Reverse Geocoding
Frameworks
Chapter 8 Device Orientation API
A Practical Use Case: Scrolling with Device Movement
Chapter 9 Web Workers
A Practical Use Case: Pooling and Parallelizing Jobs
|
0 commentaires:
Post a Comment