taknegaar
دوشنبه 01 مهر 1392, 13:44 عصر
آمار این ماه:
http://w3techs.com/technologies/history_overview/programming_language/ms/q
________________________________
node.js
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
var http = require('http');
http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(1337, '127.0.0.1');
http://nodejs.org
________________________________
ECMAScript 6
(JavaScript 2.0)
within the script type="text/traceur" tags, let’s use the ES6 syntax to implement the same class that we previously did for Language.
class Language {
constructor(name, founder, year) {
this.name = name;
this.founder = founder;
this.year = year;
}
summary() {
return this.name + " was created by " + this.founder + " in " + this.year;
}
}
http://net.tutsplus.com/articles/news/ecmascript-6-today
http://wiki.ecmascript.org/doku.php?id=harmony:harmony#goals
________________________________
ECMAScript 5 (JavaScript 1.5+):
Compatibility:
Node.JS
IE9+
FF 4+
Chrome 7+
Opera 12+
safari 6+
Modules:
Strict mode
Getter in property initializer
Setter in property initializer
JSON
String.Trim
Array.forEach
...
Compatibility table:
http://kangax.github.io/es5-compat-table
________________________________
ECMAScript 6 (JavaScript 2.0):
Compatibility:
Node.JS
...
Modules:
Class & Constructor
Const
Default function params
Iterators
Generators (yield)
Template Strings
...
Compatibility table:
http://kangax.github.io/es5-compat-table/es6
http://w3techs.com/technologies/history_overview/programming_language/ms/q
________________________________
node.js
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
var http = require('http');
http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(1337, '127.0.0.1');
http://nodejs.org
________________________________
ECMAScript 6
(JavaScript 2.0)
within the script type="text/traceur" tags, let’s use the ES6 syntax to implement the same class that we previously did for Language.
class Language {
constructor(name, founder, year) {
this.name = name;
this.founder = founder;
this.year = year;
}
summary() {
return this.name + " was created by " + this.founder + " in " + this.year;
}
}
http://net.tutsplus.com/articles/news/ecmascript-6-today
http://wiki.ecmascript.org/doku.php?id=harmony:harmony#goals
________________________________
ECMAScript 5 (JavaScript 1.5+):
Compatibility:
Node.JS
IE9+
FF 4+
Chrome 7+
Opera 12+
safari 6+
Modules:
Strict mode
Getter in property initializer
Setter in property initializer
JSON
String.Trim
Array.forEach
...
Compatibility table:
http://kangax.github.io/es5-compat-table
________________________________
ECMAScript 6 (JavaScript 2.0):
Compatibility:
Node.JS
...
Modules:
Class & Constructor
Const
Default function params
Iterators
Generators (yield)
Template Strings
...
Compatibility table:
http://kangax.github.io/es5-compat-table/es6