• Save
TypeScript
Upcoming SlideShare
Loading in...5
×
 

TypeScript

on

  • 1,112 views

 

Statistics

Views

Total Views
1,112
Views on SlideShare
1,112
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    TypeScript TypeScript Presentation Transcript

    • Introduction to TypeScript Ryan HayesTri-Cities .NET User Group
    • State of the Web● HTML 5 is awesome! (Good riddance, Flash)● Browsers are hardware accelerated!● Javascript is still living in the 90s...and this is how I feel when I use it...
    • Whats being done to solve it?● CoffeeScript (www.coffeescript.org) ○ Ruby-like, concise syntax -> to JavaScript ○ Team must learn and move to CoffeeScript● Googles Dart (www.dartlang.org) ○ C#-like syntax -> to JavaScript ○ Team must learn and move to Dart● TypeScript (www.typescriptlang.org)
    • What is TypeScript?● Superset of JavaScript● JavaScript is valid TypeScript● Compiles to JavaScript● TypeScript sugar is optional!● Teams can choose to add it or not.● Is just syntactic sugar...
    • Syntactic Sugar (n.):Syntactic sugar is syntax within a programminglanguage designed solely for human benefit inunderstanding or expression in a more clearand concise way.
    • TypeScript Provides● Classes● Interfaces● Modules (packages/namespaces)● Definition Files for libraries = Intellisense● Easy inheritance and composition● Typing and type-checking in the IDE
    • What do I need?● TypeScript Download: ○ http://www.microsoft.com/en-us/download/details. aspx?id=34790● Web Essentials 2012 (VS extension) ○ http://visualstudiogallery.msdn.microsoft. com/07d54d12-7133-4e15-becb-6f451ea3bea6● Open source definition files for 3rd party libraries: ○ https://github.com/borisyankov/DefinitelyTyped
    • TypeScript
    • JavaScript output
    • Plus, includes!:
    • DEMO TIME!http://www.typescriptlang.org/Playground/