1. Get Your Node.js Under
Control with TypeScript
Yaniv Rodenski
Senior Architect
Level: Intermediate - Advanced
2. About me:
• Senior Architect – Sela Group
• Windows Azure MVP
• Coauthor of Developing Windows Azure
and Web Services (MOC 20487)
• Developing software professionally since
1997
4. About 1997:
Script-based server side
Shared hosting environment
Browser wars
New HTML standard that will
“Change the World”
This guy was the PM of Israel
6. Back to the future – Node.js
• A JavaScript runtime that is designed for
asynchronous IO operations
• Very lightweight and fast
• Used by a growing number of companies:
7. The Node.js ecosystem
• Web frameworks
– Express.js
– Socket.io
• Database support
– MongoDB
– SQL Server
• Hosting and Cloud environments
– IIS, Azure
– Forever, PM2
9. Wait! JavaScript on the server side?
• JavaScript is considered a second-class
language:
• "JavaScript is Assembly Language for the Web“ - Erik
Meijer
• “You can write large programs in JavaScript. You just
can’t maintain them.” - Anders Hejlsberg
13. So what is TypeScript?
• TypeScript is one of many new JavaScript
front ends:
– DART
– CoffeeScript
– ClojureScript
• A JavaScript superset
• Introduces static typing for JavaScript
• Some ECMAScript 6 features
24. Summary
• Node.js is a powerful and lightweight out-
of-browser JavaScript environment
• JavaScript is a powerful language by itself
• TypeScript provides optional static typing
and cleaner syntax and tools, which can
be handy while developing large
applications and exposing APIs