ROME 11 April 2014 – G.Laquidara C.d’Angelis
require.js
Backbone
Backbone Marionette
jQuery
ROME 11 April 2014 – G.Laquidara C.d’Angelis
● Language
● Libraries
● Tools
● Compilation to Javascript
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Dart is open source
● BSD-style license
● dart.googlecode.com
● GitHub mirror...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Compile to JavaScript, runs across the modern web
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Run Dart on
the server with
the Dart VM
ROME 11 April 2014 – G.Laquidara C.d’Angelis
● New language, familiar syntax
● Rich libraries
● Consistent semantics
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Missing getter?
"Coffee".missing // ??
Class 'String' has no instance getter ...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
String compared to number?
“2” > 1 // ??
Unhandled exception:
Class 'String' ...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Dart-to-JS Compiler &
Performance
dart2js's features:
● Minification & Source...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
main Library
baz foo bar boo
imports
calls
baz
main foo bar
Tree shaking
dart...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
(bigger is better)
https://www.dartlang.org/performance
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Language, Libraries & Tools
● IDE: Dart Editor
● Package Manager: pub
● JS co...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Homepage: https://dartlang.org
API Reference: https://api.dartlang.org
Pub Pa...
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Let’s CODE!
ROME 11 April 2014 – G.Laquidara C.d’Angelis
Claudio d’Angelis
+claudiodangelis
@daw___ (3 underscores!!1)
claudiodangelis...
Upcoming SlideShare
Loading in...5
×

Join the Dart side of web development - Laquidara

1,020

Published on

Le slide di Giovanni Laquidara presentate a Codemotion Roma 2014

Published in: Technology, Travel

Join the Dart side of web development - Laquidara

  1. 1. ROME 11 April 2014 – G.Laquidara C.d’Angelis require.js Backbone Backbone Marionette jQuery
  2. 2. ROME 11 April 2014 – G.Laquidara C.d’Angelis ● Language ● Libraries ● Tools ● Compilation to Javascript
  3. 3. ROME 11 April 2014 – G.Laquidara C.d’Angelis Dart is open source ● BSD-style license ● dart.googlecode.com ● GitHub mirror ● Contributing guide ● ECMA Standard (TC52) ● Production ready (1.3)
  4. 4. ROME 11 April 2014 – G.Laquidara C.d’Angelis Compile to JavaScript, runs across the modern web
  5. 5. ROME 11 April 2014 – G.Laquidara C.d’Angelis Run Dart on the server with the Dart VM
  6. 6. ROME 11 April 2014 – G.Laquidara C.d’Angelis ● New language, familiar syntax ● Rich libraries ● Consistent semantics
  7. 7. ROME 11 April 2014 – G.Laquidara C.d’Angelis Missing getter? "Coffee".missing // ?? Class 'String' has no instance getter 'missing'. NoSuchMethodError : method not found: 'missing' Receiver: "Coffee" Arguments: []
  8. 8. ROME 11 April 2014 – G.Laquidara C.d’Angelis String compared to number? “2” > 1 // ?? Unhandled exception: Class 'String' has no instance method '>'. NoSuchMethodError : method not found: '>' Receiver: "2" Arguments: [1]
  9. 9. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  10. 10. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  11. 11. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  12. 12. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  13. 13. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  14. 14. ROME 11 April 2014 – G.Laquidara C.d’Angelis
  15. 15. ROME 11 April 2014 – G.Laquidara C.d’Angelis Dart-to-JS Compiler & Performance dart2js's features: ● Minification & Source Maps ● Global type inference ● Tree-shaking − Compile-time dead code elimination
  16. 16. ROME 11 April 2014 – G.Laquidara C.d’Angelis main Library baz foo bar boo imports calls baz main foo bar Tree shaking dart2js
  17. 17. ROME 11 April 2014 – G.Laquidara C.d’Angelis (bigger is better) https://www.dartlang.org/performance
  18. 18. ROME 11 April 2014 – G.Laquidara C.d’Angelis Language, Libraries & Tools ● IDE: Dart Editor ● Package Manager: pub ● JS compiler: dart2js ● Library documentation generator: docgen ● Static analyzer: dartanalyzer ● Chromium with Dart VM: Dartium
  19. 19. ROME 11 April 2014 – G.Laquidara C.d’Angelis 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
  20. 20. ROME 11 April 2014 – G.Laquidara C.d’Angelis Let’s CODE!
  21. 21. ROME 11 April 2014 – G.Laquidara C.d’Angelis Claudio d’Angelis +claudiodangelis @daw___ (3 underscores!!1) claudiodangelis Live Demo! http://codemotion.claudiodangelis.com Giovanni Laquidara +GiovanniLaquidara @joaolaq joaobiriba
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×