2. Me, Myself and I
Mobisoft / StrataGen / DDS TUT
Senior Software Architect Researcher
Ph.D. student
Monday, April 11, 2011
3. JavaScript
Groke
Frameworks
Monday, April 11, 2011
4. JavaScript:
The World's Most Misunderstood
Programming Language
Monday, April 11, 2011
5. “JavaScript is the most popular programming language
in the world”
Monday, April 11, 2011
6. “JavaScript is the most popular programming language
in the world”
...“but it’s also the least popular programming language
in the world”
- Douglas Crockford
Monday, April 11, 2011
7. The (mis)conception
“It’s a toy language”
“Even designers can do it”
“What good is a scripting language anyway”
Monday, April 11, 2011
8. The (mis)conception
“It’s a toy language”
“Even designers can do it”
“What good is a scripting language anyway”
Strong Typing vs. Strong Testing
Monday, April 11, 2011
10. “Programmers are artists and they
don’t want anybody to mandate
which language to use”
Monday, April 11, 2011
11. “Programmers are artists and they
don’t want anybody to mandate
which language to use”
“Lisp in C’s Clothing”
Monday, April 11, 2011
12. “Programmers are artists and they
don’t want anybody to mandate
which language to use”
“Lisp in C’s Clothing”
Pitfalls in the Language
Monday, April 11, 2011
13. “Programmers are artists and they
don’t want anybody to mandate
which language to use”
“Lisp in C’s Clothing”
Pitfalls in the Language
Typecasting
Monday, April 11, 2011
14. The Jungle
ECMAScript
JavaScript
JScript
ActionScript
Huh?
Monday, April 11, 2011
15. The Jungle
ECMAScript
JavaScript JScript ActionScript
Monday, April 11, 2011
31. Common Ground?
January 29th, 2009
Monday, April 11, 2011
32. Common Ground?
January 29th, 2009
ServerJS
Monday, April 11, 2011
33. Common Ground?
January 29th, 2009
ServerJS
CommonJS
Monday, April 11, 2011
34. CommonJS
Module system (exports/require)
Package system
Module APIs (file, socket, binary, ...)
Web server interface - JSGI
Promises
Workers
Monday, April 11, 2011
36. Why should I care?
A single programming language for the client and the
server
Code reuse and testing
Many developers are already familiar with JavaScript
The browser wars has spawned extremely fast
JavaScript interpreters
Monday, April 11, 2011
37. Further
JavaScript: The Good Parts
http://wiki.commonjs.org/wiki/CommonJS
http://narwhaljs.org/
Monday, April 11, 2011