SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
Dart Flight School Liberec
Jana Moudrá
about.me/janamou
Me
Juicymo
GDG ČVUT Prague/GDG Prague
Web, Android, Design, Dart
about.me/janamou
about.me/janamou
1.1.3

about.me/janamou
Object Oriented

Modular

Easy to learn

Optional types

Compiles to
JavaScript

about.me/janamou
Client

Server

about.me/janamou
Dartium - Chromium with Dart VM

about.me/janamou
Compiled into JavaScript works in all modern browsers

about.me/janamou
Performance

about.me/janamou
Dart Performance
www.dartlang.org/performance/
Language

about.me/janamou
Optional types

Every variable
is object

Top level main()
function

Checked and
Production
modes

Syntactic sugar

Named
constructors

… and more

about.me/janamou
Optional types

var x = 10;
var y = 20;
or
num x = 10;
num y = 20;

about.me/janamou
Top level main()
function

void main() {
print("Hello world Dart!");
}

about.me/janamou
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
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
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
Cascade operator

void main() {
querySelector("#my-button")
..text = "Open Window"
..onClick.listen(openWindow);
}

about.me/janamou
Libraries

about.me/janamou
dart:core
dart:html
dart:math
dart:convert
dart:js
dart:web_gl
… and more on https://api.dartlang.org/apidocs/

about.me/janamou
AngularDart
Polymer.dart
three.dart
vector_math
… and more on https://pub.dartlang.org/

about.me/janamou
How to start?

about.me/janamou
How to start?
www.dartlang.org

about.me/janamou
GET STARTED
www.dartlang.org/codelabs/darrrt/
DOCS > DART: UP AND RUNNING
DART API REFERENCE
www.dartlang.org/docs/dart-up-and-running/
https://api.dartlang.org/apidocs/
DOCS > API REFERENCE
https://api.dartlang.org/apidocs/
PUB
https://pub.dartlang.org/
Let's code :-)

about.me/janamou
Dart Resources
https://www.dartlang.org/
https://pub.dartlang.org/
https://github.com/dart-lang
https://plus.google.com/+dartlang/

Mais conteúdo relacionado

Destaque

Dart : one language to rule them all - MixIT 2013
Dart : one language to rule them all - MixIT 2013Dart : one language to rule them all - MixIT 2013
Dart : one language to rule them all - MixIT 2013
Sébastien Deleuze
 
Building Single-Page Web Appplications in dart - Devoxx France 2013
Building Single-Page Web Appplications in dart - Devoxx France 2013Building Single-Page Web Appplications in dart - Devoxx France 2013
Building Single-Page Web Appplications in dart - Devoxx France 2013
yohanbeschi
 

Destaque (20)

Dart flight school - Dart and Polymer Introduction
Dart flight school - Dart and Polymer IntroductionDart flight school - Dart and Polymer Introduction
Dart flight school - Dart and Polymer Introduction
 
Dart VM Performance
Dart VM PerformanceDart VM Performance
Dart VM Performance
 
Structured Apps with Google Dart
Structured Apps with Google DartStructured Apps with Google Dart
Structured Apps with Google Dart
 
17 ΝΟΕΜΒΡΗ 1973 - ΕΔΩ ΠΟΛΥΤΕΧΝΕΙΟ
17 ΝΟΕΜΒΡΗ 1973 - ΕΔΩ ΠΟΛΥΤΕΧΝΕΙΟ17 ΝΟΕΜΒΡΗ 1973 - ΕΔΩ ΠΟΛΥΤΕΧΝΕΙΟ
17 ΝΟΕΜΒΡΗ 1973 - ΕΔΩ ΠΟΛΥΤΕΧΝΕΙΟ
 
Dart structured web apps
Dart   structured web appsDart   structured web apps
Dart structured web apps
 
Dart : one language to rule them all - MixIT 2013
Dart : one language to rule them all - MixIT 2013Dart : one language to rule them all - MixIT 2013
Dart : one language to rule them all - MixIT 2013
 
Learn Dart And Angular, Get Your Web Development Wings With Kevin Moore
Learn Dart And Angular, Get Your Web Development Wings With Kevin MooreLearn Dart And Angular, Get Your Web Development Wings With Kevin Moore
Learn Dart And Angular, Get Your Web Development Wings With Kevin Moore
 
Introduction to Dart
Introduction to DartIntroduction to Dart
Introduction to Dart
 
RESTful APIs mit Dart
RESTful APIs mit DartRESTful APIs mit Dart
RESTful APIs mit Dart
 
Start dart
Start dartStart dart
Start dart
 
Let's Play Dart
Let's Play DartLet's Play Dart
Let's Play Dart
 
Dart != JavaScript
Dart != JavaScriptDart != JavaScript
Dart != JavaScript
 
Google Dart
Google DartGoogle Dart
Google Dart
 
Building Single-Page Web Appplications in dart - Devoxx France 2013
Building Single-Page Web Appplications in dart - Devoxx France 2013Building Single-Page Web Appplications in dart - Devoxx France 2013
Building Single-Page Web Appplications in dart - Devoxx France 2013
 
Dart for Java Developers
Dart for Java DevelopersDart for Java Developers
Dart for Java Developers
 
Introduction to the Dart language
Introduction to the Dart languageIntroduction to the Dart language
Introduction to the Dart language
 
Dart the Better JavaScript
Dart the Better JavaScriptDart the Better JavaScript
Dart the Better JavaScript
 
17 ΝΟΕΜΒΡΗ 1973 - 40 ΧΡΟΝΙΑ ΜΕΤΑ
17 ΝΟΕΜΒΡΗ 1973 - 40 ΧΡΟΝΙΑ ΜΕΤΑ17 ΝΟΕΜΒΡΗ 1973 - 40 ΧΡΟΝΙΑ ΜΕΤΑ
17 ΝΟΕΜΒΡΗ 1973 - 40 ΧΡΟΝΙΑ ΜΕΤΑ
 
TypeScript, Dart, CoffeeScript and JavaScript Comparison
TypeScript, Dart, CoffeeScript and JavaScript ComparisonTypeScript, Dart, CoffeeScript and JavaScript Comparison
TypeScript, Dart, CoffeeScript and JavaScript Comparison
 
Dart presentation
Dart presentationDart presentation
Dart presentation
 

Semelhante a Introduction to the Dart - Dart Flight School Liberec Hackathon

20101215-fxug-tokyo
20101215-fxug-tokyo20101215-fxug-tokyo
20101215-fxug-tokyo
Jun Funakura
 

Semelhante a Introduction to the Dart - Dart Flight School Liberec Hackathon (8)

20101215-fxug-tokyo
20101215-fxug-tokyo20101215-fxug-tokyo
20101215-fxug-tokyo
 
Performance monitoring measurement angualrjs single page apps with phantomas
Performance monitoring measurement angualrjs single page apps with phantomasPerformance monitoring measurement angualrjs single page apps with phantomas
Performance monitoring measurement angualrjs single page apps with phantomas
 
Grunt js for the Enterprise Vol.1: Frontend Performance with Phantomas
Grunt js for the Enterprise Vol.1: Frontend Performance with PhantomasGrunt js for the Enterprise Vol.1: Frontend Performance with Phantomas
Grunt js for the Enterprise Vol.1: Frontend Performance with Phantomas
 
How to bake an app in Dart and Polymer
How to bake an app in Dart and PolymerHow to bake an app in Dart and Polymer
How to bake an app in Dart and Polymer
 
Andriy Shalaenko - GO security tips
Andriy Shalaenko - GO security tipsAndriy Shalaenko - GO security tips
Andriy Shalaenko - GO security tips
 
To GO or not to GO
To GO or not to GOTo GO or not to GO
To GO or not to GO
 
Polymer, A Web Component Polyfill Library
Polymer, A Web Component Polyfill LibraryPolymer, A Web Component Polyfill Library
Polymer, A Web Component Polyfill Library
 
djangoic approach to implement common web development paradigms
djangoic approach to implement common web development paradigmsdjangoic approach to implement common web development paradigms
djangoic approach to implement common web development paradigms
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Introduction to the Dart - Dart Flight School Liberec Hackathon