| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Dart Tutorials" | 3 title: "Dart Tutorials" |
| 4 description: "A Game of Darts—Your guide to building great web apps." | 4 description: "A Game of Darts—Your guide to building great web apps." |
| 5 has-permalinks: true | 5 has-permalinks: true |
| 6 rel: | 6 rel: |
| 7 author: | 7 author: |
| 8 - mary-campione | 8 - mary-campione |
| 9 tutorial: | 9 tutorial: |
| 10 id: tut-home | 10 id: tut-home |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 <strong>Let's go!</strong> Follow the targets in order from left to right...or c
hoose just the ones you need. | 35 <strong>Let's go!</strong> Follow the targets in order from left to right...or c
hoose just the ones you need. |
| 36 | 36 |
| 37 <div class="tute-tabs"> | 37 <div class="tute-tabs"> |
| 38 <div class="tabbable"> | 38 <div class="tabbable"> |
| 39 <ul class="nav nav-tabs"> | 39 <ul class="nav nav-tabs"> |
| 40 <li class="active"><a href="#basics" data-toggle="tab">Basics</a></li> | 40 <li class="active"><a href="#basics" data-toggle="tab">Basics</a></li> |
| 41 <li><a href="#dom" data-toggle="tab">Browser</a></li> | 41 <li><a href="#dom" data-toggle="tab">Browser</a></li> |
| 42 <li><a href="#packages" data-toggle="tab">Packages</a></li> | 42 <li><a href="#packages" data-toggle="tab">Packages</a></li> |
| 43 <li><a href="#webui" data-toggle="tab">Web UI</a></li> | 43 <li><a href="#webui" data-toggle="tab">Web UI</a></li> |
| 44 <!--<li><a href="#polymer" data-toggle="tab">Polymer</a></li>--> | 44 <li><a href="#polymer" data-toggle="tab">Polymer</a></li> |
| 45 <li><a href="#forms" data-toggle="tab">Forms & Data</a></li> | 45 <li><a href="#forms" data-toggle="tab">Forms & Data</a></li> |
| 46 <!--<li><a href="#mobile" data-toggle="tab">Mobile</a></li>--> | 46 <!--<li><a href="#mobile" data-toggle="tab">Mobile</a></li>--> |
| 47 </ul> | 47 </ul> |
| 48 | 48 |
| 49 <div class="tab-content"> | 49 <div class="tab-content"> |
| 50 | 50 |
| 51 <!-- BASICS TAB --> | 51 <!-- BASICS TAB --> |
| 52 <div class="tab-pane active" id="basics"> | 52 <div class="tab-pane active" id="basics"> |
| 53 | 53 |
| 54 These two targets give a gentle introduction to writing Dart apps. | 54 These two targets give a gentle introduction to writing Dart apps. |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 </div> | 136 </div> |
| 137 <div class="span6"> | 137 <div class="span6"> |
| 138 | 138 |
| 139 </div> | 139 </div> |
| 140 </div> | 140 </div> |
| 141 </div> <!-- end Packages tab --> | 141 </div> <!-- end Packages tab --> |
| 142 | 142 |
| 143 <!-- WEB UI TAB --> | 143 <!-- WEB UI TAB --> |
| 144 <div class="tab-pane" id="webui"> | 144 <div class="tab-pane" id="webui"> |
| 145 | 145 |
| 146 <aside class="alert" style="background-color:Lavender;color:SlateBlue"> |
| 147 <font size="24"> |
| 148 <i class="icon-bullhorn"> </i> |
| 149 </font> |
| 150 Web UI is being upgraded to |
| 151 <a href="/polymer-dart/" target="_blank">Polymer.dart</a>. |
| 152 We've just added a tutorial about |
| 153 <a href="/docs/tutorials/polymer/">Polymer Elements</a>, |
| 154 one key feature of Polymer. |
| 155 We've also provided Polymer.dart versions of the tutorial's Web UI apps. |
| 156 Check out the |
| 157 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/" |
| 158 target="_blank">tutorials's code repo</a> on github. |
| 159 </aside> |
| 160 |
| 146 Web components and templates are the next great ideas in web application d
evelopment. | 161 Web components and templates are the next great ideas in web application d
evelopment. |
| 147 Together they provide the building blocks to create richer and more dynami
c web applications. | 162 Together they provide the building blocks to create richer and more dynami
c web applications. |
| 148 With the Dart team’s <a href="http://pub.dartlang.org/packages/web_ui">Web
UI package</a>, | 163 With the Dart team’s <a href="http://pub.dartlang.org/packages/web_ui">Web
UI package</a>, |
| 149 you can get started using web components and templates now. | 164 you can get started using web components and templates now. |
| 150 | 165 |
| 151 <aside class="alert" style="background-color:Lavender;color:SlateBlue"> | |
| 152 <font size="24"> | |
| 153 <i class="icon-bullhorn"> </i> | |
| 154 </font> | |
| 155 Web UI is being upgraded to polymer.dart. | |
| 156 For more information about polymer.dart, | |
| 157 including tips on porting Web UI apps to polymer.dart | |
| 158 and the current status of the project, | |
| 159 check out the <a href="/polymer-dart/" target="_blank">polymer.dart</a> | |
| 160 home page. | |
| 161 For polymer.dart versions of the tutorial's Web UI apps, | |
| 162 check out the tutorial's | |
| 163 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/" | |
| 164 target="_blank">code repo</a> on github. | |
| 165 </aside> | |
| 166 | |
| 167 <div class="row-fluid"> | 166 <div class="row-fluid"> |
| 168 | 167 |
| 169 <!-- Get Started Web UI --> | 168 <!-- Get Started Web UI --> |
| 170 <div class="span6" style="border-right:1px solid Lavender"> | 169 <div class="span6" style="border-right:1px solid Lavender"> |
| 171 <section> | 170 <section> |
| 172 <h4><a href="web-ui/"><img src="images/target.png" height="20" width="
20"> Get Started with Web UI</a></h4> | 171 <h4><a href="web-ui/"><img src="images/target.png" height="20" width="
20"> Get Started with Web UI</a></h4> |
| 173 <p>Bind Dart variables to UI elements.</p> | 172 <p>Bind Dart variables to UI elements.</p> |
| 174 <img src="images/shout-screenshot.png" width="300"> | 173 <img src="images/shout-screenshot.png" width="300"> |
| 175 </section> | 174 </section> |
| 176 </div> | 175 </div> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 193 <p>Create new HTML tags with custom elements.</p> | 192 <p>Create new HTML tags with custom elements.</p> |
| 194 <img src="images/convert-screenshot.png" width="300"> | 193 <img src="images/convert-screenshot.png" width="300"> |
| 195 </section> | 194 </section> |
| 196 </div> | 195 </div> |
| 197 <div class="span6"> | 196 <div class="span6"> |
| 198 </div> | 197 </div> |
| 199 </div> <!-- end row-fluid --> | 198 </div> <!-- end row-fluid --> |
| 200 </div> <!-- end WEB UI tab --> | 199 </div> <!-- end WEB UI tab --> |
| 201 | 200 |
| 202 <!-- POLYMER TAB --> | 201 <!-- POLYMER TAB --> |
| 203 <!-- | |
| 204 <div class="tab-pane" id="polymer"> | 202 <div class="tab-pane" id="polymer"> |
| 203 <aside class="alert" style="background-color:Lavender;color:SlateBlue"> |
| 204 <font size="24"> |
| 205 <i class="icon-bullhorn"> </i> |
| 206 </font> |
| 207 <a href="/polymer-dart/" target="_blank">Polymer.dart</a>. |
| 208 supersedes Web UI. |
| 209 <a href="/docs/tutorials/polymer/">Polymer Elements</a>, |
| 210 a new tutorial, covers one key feature of Polymer.dart. |
| 211 We've also provided Polymer.dart versions of the tutorial's Web UI apps. |
| 212 Check out the |
| 213 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/" |
| 214 target="_blank">tutorials's code repo</a> on github. |
| 215 </aside> |
| 205 <div class="row-fluid"> | 216 <div class="row-fluid"> |
| 206 | 217 |
| 207 <div class="span6" style="border-right:1px solid Lavender"> | 218 <div class="span6" style="border-right:1px solid Lavender"> |
| 208 <section> | 219 <section> |
| 209 <h4><a href="polymer/"><img src="images/target.png" height="20" width=
"20"> Polymer</a></h4> | 220 <h4><a href="polymer/"><img src="images/target.png" height="20" width=
"20"> Polymer Elements</a></h4> |
| 210 <p>Polymer - a shiny new package!</p> | 221 <p>Create new HTML tags with Polymer elements.</p> |
| 211 <img src="images/countdown-screenshot.png" width="300"> | 222 <img src="images/stopwatch-screenshot.png" width="200"> |
| 212 </section> | 223 </section> |
| 213 </div> | 224 </div> |
| 214 | 225 |
| 215 <div class="span6"> | 226 <div class="span6"> |
| 216 </div> | 227 </div> |
| 217 | 228 |
| 218 </div> | 229 </div> |
| 219 </div> | 230 </div> |
| 220 --> | 231 |
| 221 | |
| 222 <!-- FORMS TAB --> | 232 <!-- FORMS TAB --> |
| 223 <div class="tab-pane" id="forms"> | 233 <div class="tab-pane" id="forms"> |
| 224 | 234 |
| 225 Various classes in the Dart libraries help you get, send and receive, | 235 Various classes in the Dart libraries help you get, send and receive, |
| 226 and save user data. | 236 and save user data. |
| 227 You can use input elements within forms to get data from users. | 237 You can use input elements within forms to get data from users. |
| 228 You can use JSON to format data and HttpRequest to send requests and recei
ve responses. | 238 You can use JSON to format data and HttpRequest to send requests and recei
ve responses. |
| 229 And, finally, you can save data on the client with IndexedDB. | 239 And, finally, you can save data on the client with IndexedDB. |
| 230 | 240 |
| 231 <div class="row-fluid"> | 241 <div class="row-fluid"> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 </div> | 293 </div> |
| 284 --> | 294 --> |
| 285 | 295 |
| 286 </div> <!-- end tab content--> | 296 </div> <!-- end tab content--> |
| 287 </div> <!--end tabbable --> | 297 </div> <!--end tabbable --> |
| 288 </div> <!-- end of tute-tabs --> | 298 </div> <!-- end of tute-tabs --> |
| 289 | 299 |
| 290 {% endcapture %} | 300 {% endcapture %} |
| 291 | 301 |
| 292 {% include tutorial_main_page.html %} | 302 {% include tutorial_main_page.html %} |
| OLD | NEW |