توضیحاتی در مورد کتاب Using the HTML5 Filesystem API
نام کتاب : Using the HTML5 Filesystem API
عنوان ترجمه شده به فارسی : با استفاده از HTML5 Filesystem API
سری : نویسندگان : Eric Bidelman ناشر : O'Reilly Media
سال نشر : 2011
تعداد صفحات : 0
ISBN (شابک) : 1449309453 , 9781449309459
زبان کتاب : English
فرمت کتاب : epub درصورت درخواست کاربر به PDF تبدیل می شود
حجم کتاب : 658 کیلوبایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
توضیحاتی در مورد کتاب :
چندین گزینه ذخیره سازی سمت سرویس گیرنده برای برنامه های کاربردی وب در دسترس است، اما یکی از زمینه هایی که تاکنون وجود نداشته است، I/O فایل است – توانایی سازماندهی داده های باینری در یک سلسله مراتب واقعی از پوشه ها. این با ظهور HTML5 تغییر کرده است. با استفاده از این کتاب، شما یاد خواهید گرفت که چگونه برنامه های خود را با یک سیستم فایل ارائه کنید که آنها را قادر می سازد فایل ها و پوشه ها را در یک بخش sandbox در سیستم فایل محلی کاربر ایجاد، خواندن و نوشتن کنند. نویسنده اریک بیدلمن، مهندس برنامهنویس ارشد در تیم Google Chrome، چندین تکنیک و نمونههای کد کامل را برای کار با API فایل سیستم HTML5 ارائه میدهد. عملیات رایج برای کار با فایلها و دایرکتوریها را بیاموزید با موارد استفاده از ذخیرهسازی HTML5 و ملاحظات امنیتی آشنا شوید. گزینه های ذخیره سازی موجود، از جمله موقت، دائمی، و نامحدود نوشتن متن یا افزودن داده به فایل کاربری موجود با دسترسی به هارد دیسک کاربر، فایل ها را به برنامه خود وارد کنید دریافت تکنیک هایی برای استفاده از فایل با سیستم فایل، حباب یا URL های داده استفاده از همگام نسخه HTML5 Filesystem API در زمینه Web Worker
فهرست مطالب :
Table of Contents......Page 7 Using Code Examples......Page 9 How to Contact Us......Page 10 Use Cases......Page 13 A Cautionary Tale......Page 15 Storage Types......Page 17 Persistent Storage......Page 18 Unlimited Storage......Page 19 Requesting More Storage......Page 20 Checking Current Usage......Page 21 Opening a Filesystem......Page 23 Handling Errors......Page 25 The FileEntry......Page 27 Creating a File......Page 28 Reading a File by Name......Page 29 Writing to a File......Page 30 Appending Data to a File......Page 31 Importing Files......Page 32 Using ......Page 33 Using HTML5 Drag and Drop......Page 34 Using XMLHttpRequest......Page 36 Using Copy and Paste......Page 39 Removing Files......Page 40 The DirectoryEntry......Page 43 Creating Directories......Page 44 Subdirectories......Page 45 Reading the Contents of a Directory......Page 46 Recursively Removing a Directory......Page 48 Copying a File or Directory......Page 49 Moving a File or Directory......Page 51 Renaming a File or Directory......Page 52 Filesystem URLs......Page 55 Blob URLs......Page 57 Data URLs......Page 61 Summary......Page 62 Opening a Filesystem......Page 65 Examples......Page 66 Fetching All Entries in the Filesystem......Page 67 Downloading Files Using XHR2......Page 68
توضیحاتی در مورد کتاب به زبان اصلی :
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