Using the HTML5 filesystem API
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 a...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Turku, Finland, CA :
O'Reilly
2011.
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628312206719 |
Tabla de Contenidos:
- Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Chapter 1. Introduction; Use Cases; Security Considerations; Browser Support; A Cautionary Tale; Chapter 2. Storage and Quota; Storage Types; Temporary Storage; Persistent Storage; Unlimited Storage; Quota Management API; Requesting More Storage; Checking Current Usage; Chapter 3. Getting Started; Opening a Filesystem; Handling Errors; Chapter 4. Working with Files; The FileEntry; Creating a File; Reading a File by Name; Writing to a File; Appending Data to a File
- Importing FilesUsing ; Using HTML5 Drag and Drop; Using XMLHttpRequest; Using Copy and Paste; Removing Files; Chapter 5. Working with Directories; The DirectoryEntry; Creating Directories; Subdirectories; Reading the Contents of a Directory; Removing Directories; Recursively Removing a Directory; Chapter 6. Copying, Renaming, and Moving Entries; Copying a File or Directory; Moving a File or Directory; Renaming a File or Directory; Chapter 7. Using Files; Filesystem URLs; Summary; Blob URLs; Summary; Data URLs; Summary; Chapter 8. The Synchronous API; Introduction
- Opening a FilesystemWorking with Files and Directories; Handling Errors; Examples; Fetching All Entries in the Filesystem; Downloading Files Using XHR2