Why the ugly duckling is conquering the world Franziska Klingner Frontfest, Moscow 18th November 2017 Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Time ... a Duckling was Born 1995 - Tough Competition Microsoft works on something Sun Microsystems wants to bring Java to the Browser (Netscape Navigator) Netscape Communications wants to use the functional language Scheme Netscape charges Brandon Eich to create a prototype for the new language for browser; he build JavaScript in 10 days Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Time ... a Duckling was Born ”JavaScript had to ’look like Java’ only less so, [it had to] be Java’s dumb kid brother or boy-hostage sidekick. Plus, it had to be done in ten days or something worse than JavaScript would have happened” — Brendan Eich, Creator of JavaScript Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
a good Swimmer ... ”Did the job” of changing content/styling dynamically (AJAX) Easy to learn due to C/Java like syntax, no memory mgmt and no threads Fault resistant Dynamically typed Automatic semicolon insertion Variadic functions Resource efficient waiting for clicks Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Duckling was different ... Scripting language Event based Functions as first class objects Prototypical Inheritance Function scope Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
(mobile) Browser ... from small manipulations in big HTML templates Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
(mobile) Browser ... to no real HTML templates at all Single-Page-App Frameworks React Angular Vue Ember ... Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
front-end frameworks but also the tooling is written in JavaScript Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
on the Server Additional Functionality in Node.js File system management Module Loading Process Management HTTP/HTTPS Server and Socket Handling Streams Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Every device running Netflix connects to a Node.js service for that device type [3] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Uber also uses Node.js for matching millions of drivers and customers [4] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Twitter switched from Scala to Node.js for all its mobile browser traffic [5] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
Applications Examples for Electron-Apps (Node.js, Browser-JS, HTML/CSS) [6] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
IoT-Devices and Robotics Many mircocontrollers can programmed with JavaScript due to projects like ”Jonny Five - Robotics & IoT Platform” [7] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
IoT-Devices and Robotics Simple example of controlling an LED with ”Jonny Five” [8] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
everywhere, where C++ can be executed Someone with too much time made parts of JavaScript run on a NES [9] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
and allows for ”non-blocking” asyncronous processing what makes it efficient Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
central Registry for JS Modules which are created by a big, active Community >¿500.000 packages, 3.3 billion downloads per week, 35.000 updates and 4.500 new packages per week [10] [11] Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
invest Money and smart People in Javascript/Node.js and its Tooling Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
of this Story ... JavaScript might never become a white swan but it is on an unbroken winning streak nevertheless You already know front-end JS? ⇒ Play around with Node.js You already tried Node.js? ⇒ Use it in production Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world
https://www.youtube.com/watch?v=D9ZbqnffS7c https://ashleygwilliams.github.io/npm-by-the-numbers http://www.modulecounts.com/ Franziska Klingner Frontfest, Moscow JavaScript and Node.js - Why the ugly duckling is conquering the world