Using the HTML5 Filesystem API
- Length: 76 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2011-08-02
- ISBN-10: 1449309453
- ISBN-13: 9781449309459
- Sales Rank: #5412264 (See Top 100 Books)
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
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: Using the HTML5 Filesystem API
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.