en
Books
Alex Libby

Instant HTML5 Local Storage How-to

In DetailThe use of cookies to store information in a browser has been around for over a decade; its simplicity has led to its use in a variety of applications, such as online shopping baskets, but which has also lead to some inherent drawbacks in terms of security and use. HTML5 LocalStorage brings much needed additional functionality to your browser, allowing you to store more useful information that you can later reference in your websites.
“Instant HTML5 Local Storage How-to” is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the power of the LocalStorage standard, and give you a good grounding in incorporating it into current or future website projects.
This book looks at how you can incorporate the HTML5 LocalStorage standard into your websites, using the power of modern browsers to store useful information that can be referenced at any time without recourse to the server.
You will also learn how to test for browser capability, and when the browser platform being used requires that you fall back to using cookies. We will also take a look at how you can store more relevant content, such as images or content from arrays, even though the normal standard requires content to be stored in string format. You will also learn how you can make content available offline using application caching, as well as how to incorporate LocalStorage into a plugin using jQuery that you can then incorporate into your sites in the future.
We will also look at some real-life examples, where “Instant HTML5 Local Storage How-to” will take you through how you could incorporate LocalStorage into your sites; we'll take a look at code you can simply add to a site, or use as a development platform for your own future projects.
ApproachFilled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Get the job done and learn as you go. Step-by-step recipes to get to grips with the LocalStorage standard.
Who this book is forThis book is great for those who maintain sites that use cookies in some form or another, and who want to learn how to take advantage of the LocalStorage standard to improve browser security and store more relevant information that can be retrieved at some point in the future, without recourse to the server.
111 бумажных страниц
Год выхода издания
2013
Издательство
Packt Publishing
Уже прочитали? Что скажете?
👍👎
fb2epub
Перетащите файлы сюда, не более 5 за один раз