Categories
Go Back
Programming HTML 5 Applications
Author: Kessin

Publisher: Oreilly
ISBN: 9789350235904
Pages: 164
Add to Booklist
Bookmark and Share
"HTML5 is not just a replacement for plugins. It also makes the Web a first-class development environment by giving JavaScript programmers a solid foundation for building industrial-strength applications. This practical guide takes you beyond simple site creation and shows you how to build self-contained HTML5 applications that can run on mobile devices and compete with desktop apps.

You’ll learn powerful JavaScript tools for exploiting HTML5 elements, and discover new methods for working with data, such as offline storage and multithreaded processing. Complete with code samples, this book is ideal for experienced JavaScript and mobile developers alike.

Store session data in the browser with local storage objects
Save trips to the server: store larger amounts of data with IndexedDB
Give browsers limited access to a user’s system to read and upload files
Take your app offline—and speed up page loading when it’s online
Use Web Workers to create multithreaded applications
Transfer data between browser and server more efficiently with Web Sockets
Learn about HTML5 tags for forms, multimedia, graphics, and geolocation

""HTML5 is all the rage these days, but it's more than just a buzzword. Programming HTML5 Applications provides the knowledge to guide you through all the new technologies needed to make modern web applications.""
--Ralph Whitbeck, cohost of The Official jQuery Podcast

About the Author
Zachary Kessin has been working on developing interactive web applications since 1994. In the last few years Zachary's focus has been on building complex applications in the browser with Javascript, browser-based testing with Selenium, functional programming, and code generation.

Table of Contents
Chapter 1 The Web As Application Platform

Adding Power to Web Applications
Developing Web Applications
JavaScript’s Triumph

Chapter 2 The Power of JavaScript

Nonblocking I/O and Callbacks
Lambda Functions Are Powerful
Closures
Functional Programming
Prototypes and How to Expand Objects
Expanding Functions with Prototypes
Currying and Object Parameters
Array Iteration Operations
You Can Extend Objects, Too

Chapter 3 Testing JavaScript Applications

QUnit
Selenium

Chapter 4 Local Storage

The localStorage and sessionStorage Objects
JQuery Plug-ins

Chapter 5 IndexedDB

Adding and Updating Records
Adding Indexes
Retrieving Data
Deleting Data

Chapter 6 Files

Blobs
Working with Files
Uploading Files
Drag-and-Drop
Putting It All Together
Filesystem

Chapter 7 Taking It Offline

Introduction to the Manifest File
Events
Debugging Manifest Files
Chapter 8 Splitting Up Work Through Web Workers
Web Worker Use Cases
Using Web Workers
Web Worker Fractal Example
Testing and Debugging Web Workers
A Pattern for Reuse of Multithread Processing
Libraries for Web Workers

Chapter 9 Web Sockets

The Web Sockets Interface
Setting Up a Web Socket
Web Socket Example
Web Socket Protocol

Chapter 10 New Tags

Tags for Applications
Accessibility Through WAI-ARIA
Microdata
New Form Types
Audio and Video
Canvas and SVG
Geolocation
New CSS

Appendix JavaScript Tools You Should Know

Colophon"