Using the HTML5 Filesystem API
Paperback Engels 2011 9781449309459Samenvatting
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 directoriesBecome familiar with HTML5's storage use cases and security considerationsUnderstand the storage options available, including temporary, persistent, and unlimitedWrite text or append data to an existing user fileImport files into your application by accessing a user's hard driveGet techniques for using a file with filesystem, blob, or data URLsUse the synchronous version of the HTML5 Filesystem API within a Web Worker context
Specificaties
Lezersrecensies
Inhoudsopgave
Chapter 1: Introduction
Chapter 2: Storage and Quota
Storage Types
Quota Management API
Chapter 3: Getting Started
Chapter 4: Working with Files
The FileEntry
Creating a File
Reading a File by Name
Writing to a File
Importing Files
Removing Files
Chapter 5: Working with Directories
The DirectoryEntry
Creating Directories
Reading the Contents of a Directory
Removing Directories
Chapter 6: Copying, Renaming, and Moving Entries
Chapter 7: Using Files
Filesystem URLs
Blob URLs
Data URLs
Chapter 8: The Synchronous API
Introduction
Opening a Filesystem
Working with Files and Directories
Handling Errors
Examples
Colophon
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan