Using the HTML5 Filesystem API
Author | : Eric Bidelman |
Publisher | : O'Reilly Media, Inc. |
Total Pages | : 73 |
Release | : 2011-07-29 |
ISBN-10 | : 9781449309459 |
ISBN-13 | : 1449309453 |
Rating | : 4/5 (453 Downloads) |
Download or read book Using the HTML5 Filesystem API written by Eric Bidelman and published by O'Reilly Media, Inc.. This book was released on 2011-07-29 with total page 73 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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 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