Upload
thebeebs
View
176
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Building apps today is a complicated business, trying to get your creation in front of as many users possible, whilst delivering a great user experience, is a tall order. It's no wonder that many developers reduce the platforms they support and go native. Using Web Technologies and, where required, JavaScript abstractions into Native code, you can support more devices and reach more users. It's not necessarily easy, but with a pragmatic approach to testing, performance and design you can develop cross platform apps that beg the question: why should you ever bet on anything other than web technologies?
Citation preview
Martin Beeby - @thebeebs
Apps are winning
They are satisfying need
The Web can be magical
var number1 = 10;var number2 = 15;number2 = number1 + 'some string';
var number1 = 10;var number2: number;// TypeScript alerts us there is a problem!number2 = number1 + 'some string';
function getArray(x: string[]) {var len = x[0].length;
}
function getArray(x) {var len = x[0].length;
}
var Greeter = (function () {function Greeter(message) {
this.greeting = message;}Greeter.prototype.greet = function () {
return "Hello, " + this.greeting;};return Greeter;
})();
var greeter = new Greeter("world");
class Greeter {greeting: string;constructor(message: string) {
this.greeting = message;}greet() {
return "Hello, " + this.greeting;}
}
var greeter = new Greeter("world");
class Animal {constructor(public name: string) { }move(meters: number) {
alert(this.name + " moved " + meters + "m.");}
}
class Horse extends Animal {constructor(name: string) { super(name); }move() {
alert("Galloping...");super.move(45);
}}