1 / 11

TypeScript

TypeScript. Überblick. Was ist TypeScript (und warum)? Woraus besteht es? Kompatibilität mit JavaScript Code-Beispiele. Was ist TypeScript (und warum)?. Weiterentwicklung von JavaScript (für Server) Realisiert geplante ECMA-Script 6-Neuerungen wie Statische Typisierung

kmori
Télécharger la présentation

TypeScript

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TypeScript

  2. Überblick • Was ist TypeScript (und warum)? • Woraus besteht es? • Kompatibilität mit JavaScript • Code-Beispiele

  3. Was ist TypeScript (und warum)? • Weiterentwicklung von JavaScript (für Server) • Realisiert geplante ECMA-Script 6-Neuerungen wie • Statische Typisierung • Objektorientierung (Klassen, Interfaces, Vererbung, …) • Kompilierung

  4. Bestandteile • Sprache • Syntax • Schlüsselwörter • Typannotationen • TypeScript Compiler • TypeScript Language Service

  5. Kompatibilität TypeScript Compiler JavaScript (ECMA Script 3 (5)) TypeScript Gültiger Code

  6. Kompatibilität: Notizen • TypeScript-Compiler (Microsoft) • TypeScript-Code wir in ECMA Script 3 (5) gewandelt • TypeScript versteht JavaScript, inklusive JQueryund AngularJS (JavaScript ist momentan bei ECMA-5)

  7. Vorteile gegenüber JavaScript • LeichteresDebugging dank Compiler • MehrOptionen • Objektorientierung • statische Typisierung • Typabfrage

  8. Was ist TypeScript (und warum)?: Notizen • Klassen, Interfaces und Vererbung • Anonyme Funktionen • Generics • Statische Typisierung / Typisierung zur Compile-Zeit • Bsp.-Code in App -> src -> z.B. in items, userclass

  9. Was ist TypeScript (und warum)? • JavaScript basierende Programmiersprache • Von Microsoft entwickelt • Enthält für ECMA-Script 6 geplante Konstrukte, u.a.: • Statische Typisierung • Objektorientiert • Wird kompiliert • serverseitig • Klassen, Interfaces und Vererbung • Anonyme Funktionen • Generics • Statische Typisierung / Typisierung zur Compile-Zeit • Bsp.-Code in App -> src -> z.B. in items, userclass

  10. Quellen • [1]https://de.wikipedia.org/wiki/TypeScript, zuletzt aufgerufen am 12.07.2017 • [2] https://www.tutorialspoint.com/typescript/typescript_overview.htm, zuletzt aufgerufen am 12.07.2017 • [3]https://www.typescriptlang.org/docs/home.html, zuletzt aufgerufen am 12.07.2017

  11. Stadt-Land-Fluss Live-Demo Link einbinden

More Related