OLD | NEW |
1 --- | 1 --- |
2 layout: default | 2 layout: default |
3 title: "Use IndexedDB" | 3 title: "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 next: | 8 next: |
9 next-title: "Home" | 9 next-title: "Home" |
10 prev: forms/ | 10 prev: forms/ |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 and uses Polymer data-bindings to keep the View in sync. | 185 and uses Polymer data-bindings to keep the View in sync. |
186 Also, it uses Timer events to trigger updates in the Model. | 186 Also, it uses Timer events to trigger updates in the Model. |
187 | 187 |
188 ###The libraries used by the count_down app | 188 ###The libraries used by the count_down app |
189 | 189 |
190 The count_down app uses the following libraries: | 190 The count_down app uses the following libraries: |
191 | 191 |
192 | Library | Description | | 192 | Library | Description | |
193 |---|---| | 193 |---|---| |
194 | <a href="https://api.dartlang.org/dart_indexed_db.html" target="_blank">dart:i
ndexed_db</a> | Save data into an indexed database for persistence and offline c
apability | | 194 | <a href="https://api.dartlang.org/dart_indexed_db.html" target="_blank">dart:i
ndexed_db</a> | Save data into an indexed database for persistence and offline c
apability | |
195 | <a href="https://api.dartlang.org/dart_async.html" target="_blank">dart:async<
/a> | Perform tasks asynchronously | | 195 | <a href="https://api.dartlang.org/dart_async.html" target="_blank">dart:async<
/a> | Perform tasks asynchronously with Futures | |
196 | <a href="https://api.dartlang.org/dart_core.html" target="_blank">dart:core</a
> | Use DateTime and Duration to manage time-related tasks | | 196 | <a href="https://api.dartlang.org/dart_core.html" target="_blank">dart:core</a
> | Use DateTime and Duration to manage time-related tasks | |
197 | <a href="https://api.dartlang.org/polymer.html" target="_blank">Polymer</a> |
Create UIs with custom elements and data binding. | | 197 | <a href="https://api.dartlang.org/polymer.html" target="_blank">Polymer</a> |
Create UIs with custom elements and data binding. | |
198 {: .table } | 198 {: .table } |
199 | 199 |
200 This tutorial explains the Dart API for IndexedDB used by the count_down app. | 200 This tutorial explains the Dart API for IndexedDB used by the count_down app. |
201 | 201 |
202 <aside class="alert alert-info" markdown="1"> | 202 <aside class="alert alert-info" markdown="1"> |
203 <strong>Note:</strong> | 203 <strong>Note:</strong> |
204 This tutorial does not cover Futures or Polymer. | 204 This tutorial does not cover Futures or Polymer. |
205 For information about Futures, | 205 For information about Futures, |
206 see | 206 see |
207 <a href="/articles/using-future-based-apis/">Using Future Based APIs</a> | 207 <a href="/docs/tutorials/futures/">Use Future Based APIs</a> |
208 and | 208 and |
209 <a href="/articles/futures-and-error-handling/">Futures and Error Handling</a>. | 209 <a href="/articles/futures-and-error-handling/">Futures and Error Handling</a>. |
210 For information about Polymer, | 210 For information about Polymer, |
211 refer to <a href="/docs/tutorials/polymer-intro/">Define a Custom Element</a>. | 211 refer to <a href="/docs/tutorials/polymer-intro/">Define a Custom Element</a>. |
212 | 212 |
213 </aside> | 213 </aside> |
214 | 214 |
215 ##Details about IndexedDB | 215 ##Details about IndexedDB |
216 | 216 |
217 Some important facts you need to know about IndexedDB: | 217 Some important facts you need to know about IndexedDB: |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 | 722 |
723 ###What next? | 723 ###What next? |
724 | 724 |
725 You've completed the tutorials! | 725 You've completed the tutorials! |
726 Check out the Dart | 726 Check out the Dart |
727 [code samples](/samples/) and [articles](/articles/). | 727 [code samples](/samples/) and [articles](/articles/). |
728 | 728 |
729 {% endcapture %} | 729 {% endcapture %} |
730 | 730 |
731 {% include tutorial.html %} | 731 {% include tutorial.html %} |
OLD | NEW |