| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Target 11: Use IndexedDB" | 3 title: "Target 11: Use IndexedDB" |
| 4 description: "Use IndexedDB for persistence and offline capability for your app.
" | 4 description: "Use IndexedDB for persistence and offline capability for your app.
" |
| 5 has-permalinks: true | 5 has-permalinks: true |
| 6 tutorial: | 6 tutorial: |
| 7 id: indexeddb | 7 id: indexeddb |
| 8 --- | 8 --- |
| 9 | 9 |
| 10 {% capture whats_the_point %} | 10 {% capture whats_the_point %} |
| 11 | 11 |
| 12 * IndexedDB is a new standard for client-side storage in modern web browsers. | 12 * IndexedDB is a new standard for client-side storage in modern web browsers. |
| 13 * Client-side storage provides persistence, offline capability, | 13 * Client-side storage provides persistence, offline capability, |
| 14 and other advantages. | 14 and other advantages. |
| 15 * IndexedDB lets you store significant amounts of structured data. | 15 * IndexedDB lets you store significant amounts of structured data. |
| 16 * Indices allow for high performance searches. | 16 * Indices allow for high performance searches. |
| 17 * The dart:indexed_db library provides the API for IndexedDB for Dart apps. | 17 * The dart:indexed_db library provides the API for IndexedDB for Dart apps. |
| 18 * Save and retrieve data in IndexedDB using key-value pairs. | 18 * Save and retrieve data in IndexedDB using key-value pairs. |
| 19 | 19 |
| 20 {% endcapture %} | 20 {% endcapture %} |
| 21 | 21 |
| 22 {% capture sample_links %} | 22 {% capture sample_links %} |
| 23 | 23 |
| 24 <p> | 24 <p> |
| 25 Get the source code for the example featured in this target:</p> | 25 Get the source code for the example featured in this target:</p> |
| 26 | 26 |
| 27 <ul> | 27 <ul> |
| 28 <li> | 28 <li> |
| 29 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target11/count_down" | 29 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target11/count_down" |
| 30 target="_blank">count_down</a> | 30 target="_blank">count_down</a> (web_ui) |
| 31 </li> |
| 32 <li> |
| 33 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target11/count_down" |
| 34 target="_blank">count_down</a> (polymer) |
| 31 </li> | 35 </li> |
| 32 </ul> | 36 </ul> |
| 33 | 37 |
| 34 {% endcapture %} | 38 {% endcapture %} |
| 35 | 39 |
| 36 {% capture content %} | 40 {% capture content %} |
| 37 | 41 |
| 38 <div id="under-construction" markdown="1"> | 42 <div id="under-construction" markdown="1"> |
| 39 <h3> <i class="icon-wrench"> </i> Under construction </h3> | 43 <h3> <i class="icon-wrench"> </i> Under construction </h3> |
| 40 | 44 |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 </a> | 749 </a> |
| 746 </div> | 750 </div> |
| 747 <div class="span3"> | 751 <div class="span3"> |
| 748 <a href="/docs/tutorials/" class="pull-right">Home <i class="icon-chevron-righ
t"> </i> </a> | 752 <a href="/docs/tutorials/" class="pull-right">Home <i class="icon-chevron-righ
t"> </i> </a> |
| 749 </div> | 753 </div> |
| 750 </div> | 754 </div> |
| 751 | 755 |
| 752 {% endcapture %} | 756 {% endcapture %} |
| 753 | 757 |
| 754 {% include tutorial.html %} | 758 {% include tutorial.html %} |
| OLD | NEW |