BUILDING LARGE SCALE WEB APPLICATIONS
WITH TYPESCRIPT
Jakub Jedryszek
Software Engineer at Microsoft
www.jj09.net
w w w . d o t n e t c o n f . p l
@francmichal @JakubJedryszek @sawiczpawel
https://vine.co/v/hPXTA6l9AqQ
...AND THEN THERE WAS JAVASCRIPT
https://www.youtube.com/watch?v=YUsCnWBK8gc
https://www.youtube.com/watch?v=aZqhRICne_M
https://www.youtube.com/watch?v=PlmsweSNhTw
TYPESCRIPT
JavaScript TypeScript C#
var Person = (function () {
function Person(fName, lName) {
this.firstName = fName;
this.lastName = lName;
}
Person.prototype.hello = function () {
return "Hello " +
this.firstName + " " +
this.lastName + "! ";
};
Person.prototype.print = function () {
console.log(this.hello());
};
return Person;
})();
interface Printable {
print(): void;
}
class Person implements Printable {
private firstName: string;
private lastName: string;
constructor(fName: string,
lName: string) {
this.firstName = fName;
this.lastName = lName;
}
hello(): string {
return "Hello " +
this.firstName + " " +
this.lastName + "! ";
}
print(): void {
console.log(this.hello());
}
}
interface Printable
{
void Print();
}
class Person : Printable
{
private string firstName;
private string lastName;
public Person(string fName,
string lName)
{
this.firstName = fName;
this.lastName = lName;
}
public string Hello()
{
return "Hello " +
this.firstName + " " +
this.lastName + "! ";
}
public void Print()
{
Console.WriteLine(this.Hello());
}
}
npmjs.com bower.io gulpjs.com definitelytyped.org/tsd/
https://babeljs.io/docs/learn-es6/
http://jj09.net/vote
http://javascript.crockford.com/
www.typescriptlang.org
http://www.pluralsight.com/courses/typescript
STAY IN TOUCH!
Jakub Jedryszek
www.jj09.net
jakub.jedryszek@gmail.com
@JakubJedryszek

Building large scale web applications with type script

Editor's Notes