Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Unified Diff: src/site/samples/localstorage/example/README

Issue 27267004: Re-configured samples page. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/samples/localstorage/example/README
diff --git a/src/site/samples/localstorage/example/README b/src/site/samples/localstorage/example/README
new file mode 100644
index 0000000000000000000000000000000000000000..688b4a1a873b15c3615cd3762e4464225e13df16
--- /dev/null
+++ b/src/site/samples/localstorage/example/README
@@ -0,0 +1,17 @@
+Local Storage is a simple key/value storage interface
+for Strings. Use Dart's local storage interface as a
+Map.
+
+See also:
+
+* http://api.dartlang.org/docs/continuous/dart_html/Storage.html
+* https://developer.mozilla.org/en-US/docs/DOM/Storage
+* http://diveintohtml5.info/storage.html
+
+Note, local storage, though widely supported, is a
+synchronous API. Because it involves IO, this interface
+should not be used for high throughput operations.
+You might consider IndexedDB as an alternative.
+
+For simple string keys and values, and as a replacement
+for cookies, local storage is useful.

Powered by Google App Engine
This is Rietveld 408576698