+
+
ECMA-262 – ECMAScript Language Specification
Often referred to as...
Javascript
Javascript
(usable version)
(Lots of green lights)
(uh... not so usable)
(Lots of red lights)
(Twitter survey)
NOTE: Any of these topics would be a great Dayton Web Developers presentation
Arrows are a function shorthand using the => syntax.
They are syntactically similar to the related feature in C#, Java 8 and CoffeeScript.
Promises are a library for asynchronous programming. Promises are a first class representation of a value that may be made available in the future.
Template strings provide syntactic sugar for constructing strings. This is similar to string interpolation features in Perl, Python and more.
Who's gonna give a Dayton Web Developers presentation on these topics?
Source: Start Coding ES6 With Babel - tuts+ and Jason Green
When finished we'll have:
ASSUMPTIONS:
NodeJS & NPM are installed
In a new folder run:
npm init
npm install —save-dev babel
npm install —save-dev babelify(transform for Browserfiy and Babel)
npm install —save-dev browserify(so code can be written in NodeJS)
npm install —save-dev gulp(build tool)
npm install —save-dev vinyl-source-stream(allows modules to work with Gulp)
Some more structure:
Create folders:
/client /client/app /client/app/utils
Create base files:
/client/index.html
(the base HTML)
/client/app/utils/index.js
(our ES6 code)
/client/app/main.js
(our ES5 code)
(demo)
Thank you.
Allen May
@AllenHMay
AllenHMay@gmail.com