Introduction to the Dart - Dart Flight School Liberec Hackathon

1,118 views

Published on

Slides for my presentation about the Dart on the event called Dart Flight School Hackathon in Liberec.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,118
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
11
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to the Dart - Dart Flight School Liberec Hackathon

  1. 1. Dart Flight School Liberec Jana Moudrá about.me/janamou
  2. 2. Me Juicymo GDG ČVUT Prague/GDG Prague Web, Android, Design, Dart about.me/janamou
  3. 3. about.me/janamou
  4. 4. 1.1.3 about.me/janamou
  5. 5. Object Oriented Modular Easy to learn Optional types Compiles to JavaScript about.me/janamou
  6. 6. Client Server about.me/janamou
  7. 7. Dartium - Chromium with Dart VM about.me/janamou
  8. 8. Compiled into JavaScript works in all modern browsers about.me/janamou
  9. 9. Performance about.me/janamou
  10. 10. Dart Performance www.dartlang.org/performance/
  11. 11. Language about.me/janamou
  12. 12. Optional types Every variable is object Top level main() function Checked and Production modes Syntactic sugar Named constructors … and more about.me/janamou
  13. 13. Optional types var x = 10; var y = 20; or num x = 10; num y = 20; about.me/janamou
  14. 14. Top level main() function void main() { print("Hello world Dart!"); } about.me/janamou
  15. 15. Syntactic sugar class Person { String firstName; String lastName; int age; Person(this.firstName, this.lastName); } void main() { Person person = new Person("Jana", "Moudrá"); } about.me/janamou
  16. 16. Named constructor class Person { String firstName; String lastName; int age; Person(this.firstName, this.lastName); Person.withAge(this.lastName, this.age); } void main() { Person person = new Person.withAge("Moudrá", 25); } about.me/janamou
  17. 17. Getter/Setter class Person { String _firstName; String _lastName; int _age; Person(this.firstName, this.lastName); Person.withAge(this.lastName, this.age); int get age => _age; set age(int age) => _age = age; } about.me/janamou
  18. 18. Cascade operator void main() { querySelector("#my-button") ..text = "Open Window" ..onClick.listen(openWindow); } about.me/janamou
  19. 19. Libraries about.me/janamou
  20. 20. dart:core dart:html dart:math dart:convert dart:js dart:web_gl … and more on https://api.dartlang.org/apidocs/ about.me/janamou
  21. 21. AngularDart Polymer.dart three.dart vector_math … and more on https://pub.dartlang.org/ about.me/janamou
  22. 22. How to start? about.me/janamou
  23. 23. How to start? www.dartlang.org about.me/janamou
  24. 24. GET STARTED www.dartlang.org/codelabs/darrrt/
  25. 25. DOCS > DART: UP AND RUNNING DART API REFERENCE www.dartlang.org/docs/dart-up-and-running/ https://api.dartlang.org/apidocs/
  26. 26. DOCS > API REFERENCE https://api.dartlang.org/apidocs/
  27. 27. PUB https://pub.dartlang.org/
  28. 28. Let's code :-) about.me/janamou
  29. 29. Dart Resources https://www.dartlang.org/ https://pub.dartlang.org/ https://github.com/dart-lang https://plus.google.com/+dartlang/

×