● 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:...
:-)
Claudio d'Angelis
Twitter: @daw___ (3 underscores!!1)
Google+, Github: claudiodangelis
Codelab: Realizzare una Open We...
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
AppDays Pordenone 2014: Web App Engineering With Dart
Upcoming SlideShare
Loading in …5
×

AppDays Pordenone 2014: Web App Engineering With Dart

342 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
342
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

AppDays Pordenone 2014: Web App Engineering With Dart

  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.3)
  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. :-) Claudio d'Angelis Twitter: @daw___ (3 underscores!!1) Google+, Github: claudiodangelis Codelab: Realizzare una Open Web App per Firefox OS con Dart http://git.io/Qv6UKA

×