the future of javascript

40
The Future of JavaScript

Upload: sarunyhot-suwannachoti

Post on 13-Apr-2017

450 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: The Future of JavaScript

The Future of JavaScript

Page 2: The Future of JavaScript

Node & JavaScript

=

Page 3: The Future of JavaScript

Why is JavaScript

• Easy to learn

• Lets you unify your client/server logic

• Productivity

• Already in the Enterprise (Paypal, Netflix, Walmart)

Page 4: The Future of JavaScript

More than web browsers• Web server

• Robot controller (tessel.io)

• Command line application

• Proxy server

• Desktop application tooling: NW.js, Electron

Page 5: The Future of JavaScript

node-webkit

Page 6: The Future of JavaScript

node-webkit

Page 7: The Future of JavaScript

Electron

Page 8: The Future of JavaScript

ECMAScript 2015 (ES6)

Page 9: The Future of JavaScript

ECMAScript 2015

Page 10: The Future of JavaScript

Arrow Functions

Page 11: The Future of JavaScript

Template Literals(ES5)

Page 12: The Future of JavaScript

Template Literals(ES6)

Page 13: The Future of JavaScript

Default Parameters

Page 14: The Future of JavaScript

Classes(ES5)

Page 15: The Future of JavaScript

Classes(ES6)

Page 16: The Future of JavaScript
Page 17: The Future of JavaScript

Async/Await

Page 18: The Future of JavaScript

ECMAScript 2015

• node --es_staging / --harmony

• node --harmony_destructuring

• Babel

Page 19: The Future of JavaScript

WebAssembly• An improvement to JavaScript

• WebAssembly code defines an AST represented in a binary format

• A browser improvement: Browsers will understand the binary format

• A Compile Target: A way for other languages to get first-class binary support across the entire web platform stack

Page 20: The Future of JavaScript

Isomorphic

• Uses the same language on both the client (web browser) and server

• You spend less time to write code on server and client. Then save time on testing

Page 21: The Future of JavaScript

Isomorphic

Page 22: The Future of JavaScript

NPM

Page 23: The Future of JavaScript

Isomorphic

Page 24: The Future of JavaScript

JS Preprocessors

Page 25: The Future of JavaScript
Page 26: The Future of JavaScript
Page 27: The Future of JavaScript

TypeScript

Page 28: The Future of JavaScript

JSX

Page 29: The Future of JavaScript

CoffeeScript

Page 30: The Future of JavaScript

JavaScript Tooling

Page 31: The Future of JavaScript

JavaScript Tooling

Page 32: The Future of JavaScript

JavaScript Tooling

Page 33: The Future of JavaScript

JavaScript Tooling

Page 34: The Future of JavaScript

JavaScript Tooling

• Dependence on plugin authors

• Frustrating debugging

• Disjointed documentation

Page 35: The Future of JavaScript

What Should We Do?

• เลือก Framework ที่จะใช้

Page 36: The Future of JavaScript

What Should We Do?

• เลือก Framework ที่จะใช้

• ใช้ JavaScript นอกจากเขียนเว็บบ้าง

Page 37: The Future of JavaScript

What Should We Do?

• เลือก Framework ที่จะใช้

• ใช้ JavaScript นอกจากเขียนเว็บบ้าง

• เริ่มใช้ JavaScript ฝั่ง Server

Page 38: The Future of JavaScript

What Should We Do?

• เลือก Framework ที่จะใช้

• ใช้ JavaScript นอกจากเขียนเว็บบ้าง

• เริ่มใช้ JavaScript ฝั่ง Server

• ศึกษา preprocessors JS และ Tooling ต่างๆ อยู่เสมอ

Page 39: The Future of JavaScript

What Should We Do?• เลือก Framework ที่จะใช้

• ใช้ JavaScript นอกจากเขียนเว็บบ้าง

• เริ่มใช้ JavaScript ฝั่ง Server

• ศึกษา preprocessors JS และ Tooling ต่างๆ อยู่เสมอ

• เรียน JavaScript ใหม่

Page 40: The Future of JavaScript

Thank you