HTML5 Hacks

Front Cover
"O'Reilly Media, Inc.", Nov 28, 2012 - Computers - 481 pages

With 90 detailed hacks, expert web developers Jesse Cravens and Jeff Burtoft demonstrate intriguing uses of HTML5-related technologies. Each recipe provides a clear explanation, screenshots, and complete code examples for specifications that include Canvas, SVG, CSS3, multimedia, data storage, web workers, WebSockets, and geolocation.

You’ll also find hacks for HTML5 markup elements and attributes that will give you a solid foundation for creative recipes that follow. The last chapter walks you through everything you need to know to get your HTML5 app off the ground, from Node.js to deploying your server to the cloud.

Here are just a few of the hacks you’ll find in this book:

  • Make iOS-style card flips with CSS transforms and transitions
  • Replace the background of your video with the Canvas tag
  • Use Canvas to create high-res Retina Display-ready media
  • Make elements on your page user-customizable with editable content
  • Cache media resources locally with the filesystem API
  • Reverse-geocode the location of your web app user
  • Process image data with pixel manipulation in a dedicated web worker
  • Push notifications to the browser with Server-Sent Events
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Hacking the Semantic Way
1
Chapter 2 Hacking with Style
53
Chapter 3 Multimedia Hacking
125
Chapter 4 Hacking Your Graphics with Canvas and SVG
157
Chapter 5 User Interactions
209
Chapter 6 ClientSide Data Storage Hacks
239
Chapter 7 Geolocation Hacks
273
Chapter 8 WebWorker API
307
Chapter 9 Hacking HTML5 Connectivity
351
Chapter 10 Pro HTML5 Application Hacks with Nodejs
439
Index
477
About the Authors
486
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

Jesse is a Sr. Engineer at frog where he works with the world's leading companies, helping them to design, engineer, and bring to market meaningful products and services. With 12 years of experience in web application development, Jesse is currently focusing on single page web applications, the mobile web, and HTML5.

Jeff Burtoft, HTML5 Evangelist for Microsoft Corporation, has built a reputation of pushing the boundaries of HTML5 and JavaScript. He has over 10 years experience in web development and has filled a variety of roles in the industry, from "web master" of a start-up to Lead front end developer for a fortune 500 company. Jeff also develops mobile apps and is a blogger at HTML5Hacks.com