SlideShare una empresa de Scribd logo
1 de 40
Descargar para leer sin conexión
The Future of JavaScript
Node & JavaScript
=
Why is JavaScript
• Easy to learn
• Lets you unify your client/server logic
• Productivity
• Already in the Enterprise (Paypal, Netflix, Walmart)
More than web browsers
• Web server
• Robot controller (tessel.io)
• Command line application
• Proxy server
• Desktop application tooling: NW.js, Electron
node-webkit
node-webkit
Electron
ECMAScript 2015 (ES6)
ECMAScript 2015
Arrow Functions
Template Literals(ES5)
Template Literals(ES6)
Default Parameters
Classes(ES5)
Classes(ES6)
Async/Await
ECMAScript 2015
• node --es_staging / --harmony
• node --harmony_destructuring
• Babel
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
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
Isomorphic
NPM
Isomorphic
JS Preprocessors
TypeScript
JSX
CoffeeScript
JavaScript Tooling
JavaScript Tooling
JavaScript Tooling
JavaScript Tooling
JavaScript Tooling
• Dependence on plugin
authors
• Frustrating debugging
• Disjointed documentation
What Should We Do?
• เลือก Framework ที่จะใช้
What Should We Do?
• เลือก Framework ที่จะใช้
• ใช้ JavaScript นอกจากเขียนเว็บบ้าง
What Should We Do?
• เลือก Framework ที่จะใช้
• ใช้ JavaScript นอกจากเขียนเว็บบ้าง
• เริ่มใช้ JavaScript ฝั่ง Server
What Should We Do?
• เลือก Framework ที่จะใช้
• ใช้ JavaScript นอกจากเขียนเว็บบ้าง
• เริ่มใช้ JavaScript ฝั่ง Server
• ศึกษา preprocessors JS และ Tooling ต่างๆ อยู่เสมอ
What Should We Do?
• เลือก Framework ที่จะใช้
• ใช้ JavaScript นอกจากเขียนเว็บบ้าง
• เริ่มใช้ JavaScript ฝั่ง Server
• ศึกษา preprocessors JS และ Tooling ต่างๆ อยู่เสมอ
• เรียน JavaScript ใหม่
Thank you

Más contenido relacionado

Similar a The Future of JavaScript

Similar a The Future of JavaScript (20)

Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Kafka for developer
Kafka for developerKafka for developer
Kafka for developer
 
PHP&Dreamweaver 1-4
PHP&Dreamweaver 1-4PHP&Dreamweaver 1-4
PHP&Dreamweaver 1-4
 
Java Development Tools
Java Development ToolsJava Development Tools
Java Development Tools
 
Java Programming [1/12] : Introduction
Java Programming [1/12] : IntroductionJava Programming [1/12] : Introduction
Java Programming [1/12] : Introduction
 
Web Based Application Development with Open Source
Web Based Application Development with Open SourceWeb Based Application Development with Open Source
Web Based Application Development with Open Source
 
Web 2.0 mashup
Web 2.0 mashupWeb 2.0 mashup
Web 2.0 mashup
 
1.Introduction to java
1.Introduction to java1.Introduction to java
1.Introduction to java
 
Thaidev
ThaidevThaidev
Thaidev
 
Thai Research
Thai ResearchThai Research
Thai Research
 
Thaidev
ThaidevThaidev
Thaidev
 
Thaidev
ThaidevThaidev
Thaidev
 
thaiunik
thaiunikthaiunik
thaiunik
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Red5 streaming
Red5 streamingRed5 streaming
Red5 streaming
 
Web service overview
Web service overviewWeb service overview
Web service overview
 
แนะนำ HTML5 แบบอ่านจบต้องรู้บ้างแหละ
แนะนำ HTML5 แบบอ่านจบต้องรู้บ้างแหละแนะนำ HTML5 แบบอ่านจบต้องรู้บ้างแหละ
แนะนำ HTML5 แบบอ่านจบต้องรู้บ้างแหละ
 
Web application with PHP
Web application with PHPWeb application with PHP
Web application with PHP
 
บทที่3
บทที่3บทที่3
บทที่3
 
vb.net
vb.netvb.net
vb.net
 

Más de Sarunyhot Suwannachoti (8)

Avoiding Callback Hell From JavaScript
Avoiding Callback Hell From JavaScriptAvoiding Callback Hell From JavaScript
Avoiding Callback Hell From JavaScript
 
Build App with Nodejs - YWC Workshop
Build App with Nodejs - YWC WorkshopBuild App with Nodejs - YWC Workshop
Build App with Nodejs - YWC Workshop
 
Build web application with express
Build web application with expressBuild web application with express
Build web application with express
 
Node.js for beginner
Node.js for beginnerNode.js for beginner
Node.js for beginner
 
The future of node
The future of nodeThe future of node
The future of node
 
RabbitMQ
RabbitMQ RabbitMQ
RabbitMQ
 
Python Course #1
Python Course #1Python Course #1
Python Course #1
 
Introduction to CodeIgniter
Introduction to CodeIgniterIntroduction to CodeIgniter
Introduction to CodeIgniter
 

The Future of JavaScript