Using the HTML5 Filesystem API
A True Filesystem for the Browser
Publisher: O'Reilly Media
Final Release Date: July 2011
Pages: 76

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
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaUsing the HTML5 Filesystem API
 
4.0

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

(1 of 1 customers found this review helpful)

 
4.0

Great intro to HTML5 filesystem API

By JuanB

from Montevideo, Uruguay

About Me Developer

Verified Reviewer

Pros

  • Easy to understand
  • Helpful examples

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about O'Reilly Media Using the HTML5 Filesystem API:

    The book "Using the HTML5 API by Eric Bidelman filesystem" is basically a deep guide to the new API included in HTML5 for file system management. This API provide to browsers the ability to access persistent data off-line, which is a breakthrough for web applications as it covers a major shortcoming for such applications.

    The author covers every aspect of the API exhaustively describing each function provided by the API, covers topics such as file and directory management, security considerations and quotas, storage types and use cases among others.
    It is noteworthy that each topic covered in the book is appropriately accompanied by very well explained and functional code examples but in order to fully understand the content and examples you should have a basic knowledge of javascript.

    I think it is a good book that provides to the reader a great introduction to the API but you have to remember that at this moment is only supported by Chrome browser and some functions and methods explained in the book are named with vendor specifics suffixes.
    I can tell you as a web application developer that it is an interesting and easy reading book , it allowed me to improve my HTML5 knowledge and learn new and useful features i can apply in my daily work.

    (2 of 2 customers found this review helpful)

     
    4.0

    Using the HTML5 Filesystem API

    By Abi

    from Chennai

    About Me Designer, Developer

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand
    • Helpful examples

    Cons

      Best Uses

      • Intermediate

      Comments about O'Reilly Media Using the HTML5 Filesystem API:

      For a long time web applications have not had access to a user's local file system. HTML-5 changes this. HTML 5 provides us API that allows us to read/write/modify/move/delete/duplicate files and directories stored locally in a user's machine. Ofcourse in a sand-boxed section. This book 'Using the HTML5 Filesystem API' fouses on how to do all of the above file/folder activities.

      The author, Eric Bidelman, works at Google and is currently part of the chrome team. He illustrates each of the API with examples. Though many seem to be for webkit, checks for Mozilla and IE are also provided. Eric initally talks of all basic API for file handling and then adds a separate chapter on the Synchronous API. This chapter does not dwell deep into each of the synchronous API but highlights the differences with its asynchronous cousin. So when it comes to Filesystem API provided by HTML 5, I think the book does what is needed in just 72 pages. A quick read.

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $18.99
      Formats:  DAISY, ePub, Mobi, PDF
      Print & Ebook: $21.99
      Print: $19.99