12. Most of the people writing in JavaScript are not programmers.
They lack the training and discipline to write good programs.
- Douglas Crockford, 2001
A very large group of developers still thinks of JavaScript as a
joke.
- Davy Brion, 2011
We strongly suggest to adopt JavaScript as a first class language.
- ThoughtWorks Technology Radar, 2011
The ecosystem around JavaScript as a serious application
platform continues to evolve.
- ThoughtWorks Technology Radar, January 2014
Through 2014, improved JavaScript performance will begin to
push HTML5 and the browser as a mainstream enterprise
application development environment.
- Gartner, October 2013
14. Any application that can be written in
JavaScript, will eventually be written
in JavaScript.
- Atwoodâs Law, 2007
15. We are slaves to JavaScript because
people have simply started to accept
its weirdness and flaws, much like a
Stockholm Syndrome phenomenon.
- Chris Richardson, 2013
19. GWT
is
a
reasonable
implementaDon
of
a
poor
architectural
choice.
GWT
a$empts
to
hide
many
of
the
details
of
the
web
as
a
plaForm
by
creaDng
desktop
metaphors
in
Java
and
generaDng
JavaScript
code
to
implement
them.
First,
in
many
ways,
JavaScript
is
more
powerful
and
expressive
than
Java,
so
we
suspect
that
the
generaDon
is
going
in
the
wrong
direcDon.
h$p://www.ThoughtWorks
Technology
Radar,
July
2011 thoughtworks.com/radar
20. var add = function(first, second) {
return first + second;
};
var splitCall = function(first, func){
return function(second){
return func(first, second);
}
}
var addOne = splitCall(1, add);
addOne(22); // -> 23
22. History
⢠HyperCard
for
the
browser
Brendan
Eich
(ex
CEO
of
Mozilla)
⢠Make
it
look
like
Java!
⢠Completed
in
10
days
h$p://javascriptjabber.com/124-Ââjsj-Ââthe-Ââorigin-Ââof-Ââjavascript-Ââwith-Ââbrendan-Ââeich/
23. Language Constructs
⢠Object
⢠Class
⢠Method
⢠Constructor
⢠Packages
⢠Inheritance
⢠Object
⢠Function
...everything else can
be implemented
43. JavaScript is the Language of the Web.
Another software technology will come
along and kill off the web. That judgement
day will arrive very soon.
-Forrester Research in 2000
The Web has won!
44. HTML 5
HTML5 explained:
⢠Html is the structure
⢠CSS is the colour and
style
⢠JavaScript is everything
else
Scott Hanselman: Angle Brackets, Curly Braces http://channel9.msdn.com/Events/Build/2012/3-027
50. SPA Architecture
View
Model
Controller
"object model"
Services
Client Server
clear boundary
⢠Rich client
programming model in
the browser
⢠Clear separation of
concern between
client and server
51. Sharing Logic between
Client and Server
⢠Full-Stack JavaScript
www.meteor.com
⢠Run JavaScript logic on
traditional Java / .NET
backend
⢠Validation
â˘Workflow / Scripting
View
Controller
Client Server
Business Logic "Code
Repository"
Model