● Language
● Libraries
● Tools
● Compilation to Javascript
Dart is open source
● BSD-style license
● dart.googlecode.com
● GitHub mirror
● Contributing guide
● ECMA Standard (TC52)
...
Compiles to JavaScript, runs across the modern web
Run Dart on the server
with the Dart VM
● New language, familiar syntax
● Rich libraries
● Consistent semantics
Missing getter?
"Coffee".missing // ??
Class 'String' has no instance getter 'missing'. NoSuchMethodError : method not fou...
String compared to number?
“2” > 1 // ?? 
Unhandled exception:
Class 'String' has no instance method '>'.
NoSuchMethodErro...
Built-in libraries
async
collection
convert
core
html
indexed_db
io
isolate
js
math
mirrors
svg
typed_data
web_audio
web_g...
Asynchronous and
concurrent programming
https://www.flickr.com/photos/huskyte/8519749145/in/photostream/
● Futures
● Strea...
Dart-to-JS Compiler & Performance
Dart2js' s features:
●
Minification & Source Maps
●
Global type inference
●
Tree-shaking...
main Library
baz foo bar boo
imports
calls
baz
main foo bar
Tree shaking
dart2js
https://dartlang.org/performance
●
IDE: Dart Editor
●
Package Manager: pub
●
JS compiler: dart2js
●
Library documentation generator: docgen
●
Static analyz...
Homepage: https://dartlang.org
API Reference: https://api.dartlang.org
Pub Packages: https://pub.dartlang.org
AngularDart:...
Live coding!
Download Dart Editor:
https://dartlang.org/tools/download.html
Claudio d'Angelis
Twitter: @daw985
Google+, Gi...
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Join the dart side of webdevelopment reloaded
Upcoming SlideShare
Loading in …5
×

Join the dart side of webdevelopment reloaded

269 views
199 views

Published on

Published in: Technology, Sports
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
269
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Join the dart side of webdevelopment reloaded

  1. 1. ● Language ● Libraries ● Tools ● Compilation to Javascript
  2. 2. Dart is open source ● BSD-style license ● dart.googlecode.com ● GitHub mirror ● Contributing guide ● ECMA Standard (TC52) ● Production ready (1.4)
  3. 3. Compiles to JavaScript, runs across the modern web
  4. 4. Run Dart on the server with the Dart VM
  5. 5. ● New language, familiar syntax ● Rich libraries ● Consistent semantics
  6. 6. Missing getter? "Coffee".missing // ?? Class 'String' has no instance getter 'missing'. NoSuchMethodError : method not found: 'missing' Receiver:  "Coffee" Arguments: [] 
  7. 7. String compared to number? “2” > 1 // ??  Unhandled exception: Class 'String' has no instance method '>'. NoSuchMethodError : method not found: '>' Receiver: "2" Arguments: [1]
  8. 8. Built-in libraries async collection convert core html indexed_db io isolate js math mirrors svg typed_data web_audio web_gl web_sql Kansas City Public Library
  9. 9. Asynchronous and concurrent programming https://www.flickr.com/photos/huskyte/8519749145/in/photostream/ ● Futures ● Streams ● Isolates
  10. 10. Dart-to-JS Compiler & Performance Dart2js' s features: ● Minification & Source Maps ● Global type inference ● Tree-shaking − Compile-time dead code elimination
  11. 11. main Library baz foo bar boo imports calls baz main foo bar Tree shaking dart2js
  12. 12. https://dartlang.org/performance
  13. 13. ● IDE: Dart Editor ● Package Manager: pub ● JS compiler: dart2js ● Library documentation generator: docgen ● Static analyzer: dartanalyzer ● Chromium with Dart VM: Dartium Language, Libraries & Tools
  14. 14. Homepage: https://dartlang.org API Reference: https://api.dartlang.org Pub Packages: https://pub.dartlang.org AngularDart: https://angulardart.org Polymer.dart: https://dartlang.org/polymer-dart
  15. 15. Live coding! Download Dart Editor: https://dartlang.org/tools/download.html Claudio d'Angelis Twitter: @daw985 Google+, Github: claudiodangelis Giovanni Laquidara Twitter: @joaolaq Google+: +giovannilaquidara Github: joaobiriba

×