HTML5 and JavaScript Web Apps

Front Cover
"O'Reilly Media, Inc.", Nov 14, 2012 - Computers - 156 pages

This hands-on book looks past the hype and buzzwords surrounding HTML5 and gives you a conservative and practical approach to using HTML5, JavaScript MVC frameworks, and the latest W3C specifications. You'll quickly master how to build mobile and desktop web apps that are widely supported across all major web browsers and devices.

Even though Web Storage, Web Workers, Geolocation, Device Orientation, and WebSockets have been covered many times in the past, it is often from a very high or basic level. This book goes into the trenches to review actual use cases for each of these APIs and gives real-world examples on how to use each one. If you're familiar with JavaScript, CSS and HTML basics and are ready to start piecing together the architecture of HTML5, then 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 on the client
  • 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
 

What people are saying - Write a review

LibraryThing Review

User Review  - Tobias.Bruell - LibraryThing

The book mainly consists of three parts. I only read the first, the last, and the beginning of the second part. The first part I remember (after two weeks) mainly as a collection of web-apps-related ... Read full review

User Review - Flag as inappropriate

gd book

Contents

Chapter 1 ClientSide Architecture
1
Chapter 2 The Mobile Web
7
Chapter 3 Building for the Mobile Web
19
Chapter 4 The Desktop Web
63
Chapter 5 WebSockets
95
Chapter 6 Optimizing with Web Storage
111
Chapter 7 Geolocation
129
Chapter 8 Device Orientation API
137
Chapter 9 Web Workers
143
Index
151
About the Author
157
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

Wesley Hales is a User Interface architect from Atlanta, GA. He has been involved in UI and User Experience roles for over a decade in both startup and enterprise environments. Wesley co-founded several enterprise frameworks during his 4+ years at JBoss by Red Hat (including the JBoss Portlet Bridge and AeroGear projects) and also served as a co-founder of a recently acquired startup.



Wesley enjoys creating world-class user interfaces and experiences that people fall in love with. You can see him speak at the occasional conference, read his posts on wesleyhales.com, or follow him on twitter @wesleyhales.

Bibliographic information