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

Side by Side Diff: src/site/docs/tutorials/web-ui/index.markdown

Issue 19621005: linked to new polymer examples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: merge with master...forgot Created 7 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/site/docs/tutorials/templates/index.markdown ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 --- 1 ---
2 layout: default 2 layout: default
3 title: "Target 6: Get Started with Web UI" 3 title: "Target 6: Get Started with Web UI"
4 description: "Web UI provides web components, templates, data binding, and encap sulation." 4 description: "Web UI provides web components, templates, data binding, and encap sulation."
5 has-permalinks: true 5 has-permalinks: true
6 tutorial: 6 tutorial:
7 id: get-started-web-ui 7 id: get-started-web-ui
8 --- 8 ---
9 9
10 {% capture whats_the_point %} 10 {% capture whats_the_point %}
11 11
12 * Web UI is an open-source package. 12 * Web UI is an open-source package.
13 * Web UI provides web components for Dart apps. 13 * Web UI provides web components for Dart apps.
14 * Other features support separation of data and presentation. 14 * Other features support separation of data and presentation.
15 * Compile Web UI apps automatically in Dart Editor. 15 * Compile Web UI apps automatically in Dart Editor.
16 * Use data binding to sync Dart variables and UI elements. 16 * Use data binding to sync Dart variables and UI elements.
17 * Attach event handlers to UI elements in HTML. 17 * Attach event handlers to UI elements in HTML.
18 18
19 {% endcapture %} 19 {% endcapture %}
20 20
21 {% capture sample_links %} 21 {% capture sample_links %}
22 22
23 <p> 23 <p>
24 Get the source code for the samples featured in this target:</p> 24 Get the source code for the samples featured in this target:</p>
25 25
26 <ul> 26 <ul>
27 <li> 27 <li>
28 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/littleben" 28 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/littleben"
29 target="_blank">littleben</a> 29 target="_blank">littleben</a> (web_ui)
30 </li>
31 <li>
32 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06-polymer/littleben"
33 target="_blank">littleben</a> (polymer)
34 </li>
35 <li>
36 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06-polymer/petiteben"
37 target="_blank">petiteben</a> (polymer)
30 </li> 38 </li>
31 <li> 39 <li>
32 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/shout" 40 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/shout"
33 target="_blank">shout</a> 41 target="_blank">shout</a> (web_ui)
42 </li>
43 <li>
44 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06-polymer/shout"
45 target="_blank">shout</a> (polymer)
34 </li> 46 </li>
35 <li> 47 <li>
36 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/stopwatch" 48 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06/stopwatch"
37 target="_blank">stopwatch</a> 49 target="_blank">stopwatch</a> (web_ui)
50 </li>
51 <li>
52 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web /target06-polymer/stopwatch"
53 target="_blank">stopwatch</a> (polymer)
38 </li> 54 </li>
39 </ul> 55 </ul>
40 56
41 {% endcapture %} 57 {% endcapture %}
42 58
43 {% capture content %} 59 {% capture content %}
44 60
45 <hr> 61 <hr>
46 62
47 <aside class="alert" style="background-color:Lavender;color:SlateBlue"> 63 <aside class="alert" style="background-color:Lavender;color:SlateBlue">
48 <font size="24"> 64 <font size="24">
49 <i class="icon-bullhorn"> </i> 65 <i class="icon-bullhorn"> </i>
50 </font> 66 </font>
51 67
52 The Dart Web UI team recently 68 The Dart Web UI team recently
53 <a href="https://groups.google.com/a/dartlang.org/forum/#!topic/web-ui/6laXXxR tA7k">announced</a> 69 <a href="https://groups.google.com/a/dartlang.org/forum/#!topic/web-ui/6laXXxR tA7k">announced</a>
54 a port of the Polymer project: 70 a port of the Polymer project:
55 <a href="http://pub.dartlang.org/packages/polymer">polymer.dart</a>. 71 <a href="http://pub.dartlang.org/packages/polymer">polymer.dart</a>.
56 72
57 Here are a few samples that we've converted to Polymer so far: 73 We've converted most of the tutorial Web UI examples and compiled some
74 <a href="https://github.com/dart-lang/dart-tutorials-samples/blob/master/web/t o-polymer-notes.txt" target="_blank">notes</a>
75 along the way.
76 Here is source code for the polymer versions of the three examples from this t arget.
77 The littleben sample shows two different ways you can write the conversion&mda sh;one
Kathy Walrath 2013/07/22 18:07:02 I'd remove the sentence about littleben from the b
78 using a custom component and one using a template with a programmatically boun d model.
58 <ul> 79 <ul>
59 <li> 80 <li>
60 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/littleben" 81 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/littleben"
61 target="_blank">littleben</a> 82 target="_blank">littleben</a> with custom component
Kathy Walrath 2013/07/22 18:07:02 with custom component -> : version with a custom c
83 </li>
84 <li>
85 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/petiteben"
86 target="_blank">petiteben</a> with bound model
Kathy Walrath 2013/07/22 18:07:02 with bound model -> : littleben version with a bou
62 </li> 87 </li>
63 <li> 88 <li>
64 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/shout" 89 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/shout"
65 target="_blank">shout</a> 90 target="_blank">shout</a>
66 </li> 91 </li>
67 <li> 92 <li>
68 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/stopwatch" 93 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/w eb/target06-polymer/stopwatch"
69 target="_blank">stopwatch</a> 94 target="_blank">stopwatch</a>
70 </li> 95 </li>
71 </ul> 96 </ul>
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 </a> 592 </a>
568 </div> 593 </div>
569 <div class="span3"> 594 <div class="span3">
570 <a href="/docs/tutorials/templates/" class="pull-right">Use &lt;template&gt; < i class="icon-chevron-right"> </i> </a> 595 <a href="/docs/tutorials/templates/" class="pull-right">Use &lt;template&gt; < i class="icon-chevron-right"> </i> </a>
571 </div> 596 </div>
572 </div> 597 </div>
573 598
574 {% endcapture %} 599 {% endcapture %}
575 600
576 {% include tutorial.html %} 601 {% include tutorial.html %}
OLDNEW
« no previous file with comments | « src/site/docs/tutorials/templates/index.markdown ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698