| 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 next: forms |
| 9 next-title: "Get Input from a Form" |
| 10 prev: custom-elements |
| 11 prev-title: "Define a Custom DOM Tag" |
| 8 --- | 12 --- |
| 9 | 13 |
| 10 {% capture whats_the_point %} | 14 {% capture whats_the_point %} |
| 11 | 15 |
| 12 * Data on the web is often formatted in JSON. | 16 * Data on the web is often formatted in JSON. |
| 13 * JSON is text based and human readable. | 17 * JSON is text based and human readable. |
| 14 * The dart:json library provides support for JSON. | 18 * The dart:json library provides support for JSON. |
| 15 * Use HttpRequest to dynamically load data. | 19 * Use HttpRequest to dynamically load data. |
| 16 | 20 |
| 17 {% endcapture %} | 21 {% endcapture %} |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454  | 458  |
| 455 | 459 |
| 456 ##Further resources | 460 ##Further resources |
| 457 | 461 |
| 458 Check out Chris Buckett's article, | 462 Check out Chris Buckett's article, |
| 459 <a href="/articles/json-web-service/" | 463 <a href="/articles/json-web-service/" |
| 460 target="_blank">Using Dart with JSON Web Services</a>, | 464 target="_blank">Using Dart with JSON Web Services</a>, |
| 461 for more information and an example with source code for both | 465 for more information and an example with source code for both |
| 462 client and server programs. | 466 client and server programs. |
| 463 | 467 |
| 464 <hr> | |
| 465 | |
| 466 <div class="row"> | |
| 467 <div class="span3"> | |
| 468 <a href="/docs/tutorials/custom-elements/"><i class="icon-chevron-left"> </i>
Define a Custom DOM Tag</a> | |
| 469 </div> | |
| 470 <div class="span3"> | |
| 471 <a href="http://code.google.com/p/dart/issues/entry?template=Tutorial%20feedback
" | |
| 472 target="_blank"> | |
| 473 <i class="icon-comment"> </i> | |
| 474 Send feedback | |
| 475 </a> | |
| 476 </div> | |
| 477 <div class="span3"> | |
| 478 <a href="/docs/tutorials/forms/" class="pull-right">Get Input from a Form <i c
lass="icon-chevron-right"> </i> </a> | |
| 479 </div> | |
| 480 </div> | |
| 481 | |
| 482 {% endcapture %} | 468 {% endcapture %} |
| 483 | 469 |
| 484 {% include tutorial.html %} | 470 {% include tutorial.html %} |
| OLD | NEW |