| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Target 9: Fetch Data Dynamically" | 3 title: "Target 9: Fetch Data Dynamically" |
| 4 description: "Use HttpRequest to fetch data from a file or a server." | 4 description: "Use HttpRequest to fetch data from a file or a server." |
| 5 has-permalinks: true | 5 has-permalinks: true |
| 6 tutorial: | 6 tutorial: |
| 7 id: fetchdata | 7 id: fetchdata |
| 8 --- | 8 --- |
| 9 | 9 |
| 10 {% capture whats_the_point %} | 10 {% capture whats_the_point %} |
| 11 | 11 |
| 12 * Data on the web is often formatted in JSON. | 12 * Data on the web is often formatted in JSON. |
| 13 * JSON is text based and human readable. | 13 * JSON is text based and human readable. |
| 14 * The dart:json library provides support for JSON. | 14 * The dart:json library provides support for JSON. |
| 15 * Use HttpRequest to dynamically load data. | 15 * Use HttpRequest to dynamically load data. |
| 16 | 16 |
| 17 {% endcapture %} | 17 {% endcapture %} |
| 18 | 18 |
| 19 {% capture sample_links %} | 19 {% capture sample_links %} |
| 20 | 20 |
| 21 <p> | 21 <p> |
| 22 Get the source code for the samples featured in this target:</p> | 22 Get the source code for the samples featured in this target:</p> |
| 23 | 23 |
| 24 <ul> | 24 <ul> |
| 25 <li> | 25 <li> |
| 26 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/its_all_about_you" | 26 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/its_all_about_you" |
| 27 target="_blank">its_all_about_you</a> | 27 target="_blank">its_all_about_you</a> (web_ui) |
| 28 </li> |
| 29 <li> |
| 30 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09-polymer/its_all_about_you" |
| 31 target="_blank">its_all_about_you</a> (polymer) |
| 28 </li> | 32 </li> |
| 29 <li> | 33 <li> |
| 30 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/portmanteaux_simple" | 34 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/portmanteaux_simple" |
| 31 target="_blank">portmanteaux_simple</a> | 35 target="_blank">portmanteaux_simple</a> |
| 32 </li> | 36 </li> |
| 33 <li> | 37 <li> |
| 34 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/portmanteaux" | 38 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/target09/portmanteaux" |
| 35 target="_blank">portmanteaux</a> | 39 target="_blank">portmanteaux</a> |
| 36 </li> | 40 </li> |
| 37 </ul> | 41 </ul> |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 </a> | 475 </a> |
| 472 </div> | 476 </div> |
| 473 <div class="span3"> | 477 <div class="span3"> |
| 474 <a href="/docs/tutorials/forms/" class="pull-right">Get Input from a Form <i c
lass="icon-chevron-right"> </i> </a> | 478 <a href="/docs/tutorials/forms/" class="pull-right">Get Input from a Form <i c
lass="icon-chevron-right"> </i> </a> |
| 475 </div> | 479 </div> |
| 476 </div> | 480 </div> |
| 477 | 481 |
| 478 {% endcapture %} | 482 {% endcapture %} |
| 479 | 483 |
| 480 {% include tutorial.html %} | 484 {% include tutorial.html %} |
| OLD | NEW |