Several client-side storage options are available to web applications, but one area that's been lacking until now is file I/O―the ability to organize binary data into a true hierarchy of folders. That has changed with the advent of HTML5. With this book, you'll learn how to provide your applications with a file system that enables them to create, read, and write files and folders in a sandboxed section of the user's local filesystem.
Author Eric Bidelman, a Senior Developer Programs Engineer on the Google Chrome team, provides several techniques and complete code examples for working with the HTML5 Filesystem API.
Learn common operations for working with files and directories
Become familiar with HTML5's storage use cases and security considerations
Understand the storage options available, including temporary, persistent, and unlimited
Write text or append data to an existing user file
Import files into your application by accessing a user's hard drive
Get techniques for using a file with filesystem, blob, or data URLs
Use the synchronous version of the HTML5 Filesystem API within a Web Worker context
About the Author
Eric is a Senior Developer Programs Engineer on the Google Chrome team, and one of the core contributors to html5rocks.com. His mission is to spread HTML5 goodness by educating developers, worldwide. Eric previously worked on the Google Docs, Sites, Health, and OAuth APIs. Prior to Google, Eric worked as a software engineer at the University of Michigan where he designed rich web applications and APIs for the university's 19 libraries. Eric holds a B.S.E in Computer Engineering and a B.S.E in Electrical Engineering from the University of Michigan, Ann Arbor. He can be found on Twitter at @ebidel.
Description:
Several client-side storage options are available to web applications, but one area that's been lacking until now is file I/O―the ability to organize binary data into a true hierarchy of folders. That has changed with the advent of HTML5. With this book, you'll learn how to provide your applications with a file system that enables them to create, read, and write files and folders in a sandboxed section of the user's local filesystem.
Author Eric Bidelman, a Senior Developer Programs Engineer on the Google Chrome team, provides several techniques and complete code examples for working with the HTML5 Filesystem API.
About the Author
Eric is a Senior Developer Programs Engineer on the Google Chrome team, and one of the core contributors to html5rocks.com. His mission is to spread HTML5 goodness by educating developers, worldwide. Eric previously worked on the Google Docs, Sites, Health, and OAuth APIs. Prior to Google, Eric worked as a software engineer at the University of Michigan where he designed rich web applications and APIs for the university's 19 libraries. Eric holds a B.S.E in Computer Engineering and a B.S.E in Electrical Engineering from the University of Michigan, Ann Arbor. He can be found on Twitter at @ebidel.