TypeScript - A Brief Overview

287
-1

Published on

This is from my talk @basta 2013.

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

  • Be the first to like this

No Downloads
Views
Total Views
287
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

TypeScript - A Brief Overview

  1. 1. A Brief IntroductionTYPESCRIPT
  2. 2. DARIUSZ PARYSTechnical Evangelist @ MicrosoftDeutschland GmbH@writelinehttp://kouder.net
  3. 3. AGENDA• JavaScript – Stand der Dinge• Transpiler auf dem Vormarsch• TypeScript im Überblick• Q & A
  4. 4. JavaScriptStand der Dinge
  5. 5. ShippingJavaScript
  6. 6. Desktop
  7. 7. AJAX inDa House
  8. 8. Evolution
  9. 9. Mobile
  10. 10. Unbelievable
  11. 11. Server
  12. 12. Harmony
  13. 13. JavaScriptEine heile Welt?
  14. 14. RuntimeErrors
  15. 15. LargeTeams
  16. 16. TRANSPILER AUF DEM VORMARSCHAm Beispiel von CoffeeScript und Dart
  17. 17. COFFEESCRIPTlist = [1,2,3,4,5]roots = (Math.sqrt num for num in list)roots = (function() {var _i, _len, _results;_results = [];for (_i = 0, _len = list.length; _i <_len; _i++) {num = list[_i];_results.push(Math.sqrt(num));}return _results;})();
  18. 18. DARTlibrary model;import package:web_ui/observe.dart;importpackage:web_ui/observe/html.dart;@observableclass ViewModel {bool isVisible(Todo todo) =>todo != null &&((showIncomplete && !todo.done)|| (showDone && todo.done));bool get showIncomplete => locationHash!= #/completed;bool get showDone => locationHash !=#/active;}final ViewModel viewModel = newViewModel();
  19. 19. TYPESCRIPT• TypeScript ist ein Superset von JavaScript– Jeder JavaScript Source == TypeScript• Typisierung• Klassen• Module
  20. 20. DEMOTypeScript
  21. 21. Q & A

×