3. ... “ I even heard that they will
use Angular 2 in a galaxy far,
far away…”
http://www.ngparty.cz/ngBigParty-II/##what-to-expect
4. ... “ I even heard that they will
use Angular 2 in a galaxy far,
far away…”
http://www.ngparty.cz/ngBigParty-II/##what-to-expect
Disclamer
no A2x code
in presentation
5. “ Use A2.x with TypeScript ”
Disclamer
no A2x code
in presentation
11. Typing Evolution: GWT, Dart
Button myButton = new Button("x");
myButton.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) { ///...
}
});
flexTable.setWidget(row, 3, myButton);
VM JS
Problem:
Hard to combine
GWT:
Strong Java IDE support
16. Module B
Module B
Interfaces to support modular projects, combine client & server models
Module A Module B
*.d.ts
check interfaces
→ by compile time
*.ts
Async loaded
→ at runtime
define interface use interface
*.d.ts
REST-Services
*.ts
26. Smooth way to start using TypeScript
4. var loanLimit : string = “100”;
ILoans-Service.d.ts
interface ILoanModel {
id : number, ...
}
LoansController.ts
var loanmodel : ILoanModel = { … }
No generation of code !