By TJ VanToll, Principal Developer Advocate at Progress.
Slide 1: The Rise of Node.js
npm module counts from modulecounts.com as of December 2016. npm’s growth from ~200,000 to ~350,000 packages forced the Module Counts site to reconfigure the chart’s y axis.
Slide 2: NASA Adopts Node
Image from the NASA Node.js case study.
The increase in Node.js can be attributed in part to the growing number of enterprises using Node in their infrastructure. Netflix, GoDaddy, and Capital One are a few of these businesses, but perhaps the most renowned Node critical infrastructure use case is NASA’s.
Here’s a telling excerpt from the Node.js case study: “When you’ve got the safety of astronauts on the line, little hiccups and service interruptions turn into life-and-death situations. From EVA [extra vehicular activity] data to astronauts up in space, Node.js helps ensure there’s a safe home for everything and everyone.”
Slide 3: Node in 2017
Image from Node.js infographic.
Slide 4: Cordova and PhoneGap
A WebView like the one Cordova uses is a chromeless browser window that’s typically configured to run full screen. The basic architecture can be understood in this infographic, comparing native, hybrid, and Web apps. Image courtesy of myShadesOfGray.
Slide 5: Cordova versus PWAs
Google’s home page for Progressive Web Apps.
PWAs bring many native-like features to the Web, like push notifications, offline access, and home screen icons. In the last year, Google has made it clear that it’s committed to the PWA approach, as evidenced in the Chrome Developer Summit, which featured an extraordinary number of talks focusing on PWAs, which also was the case at the Google I/O conference.
PWAs eat into the primary Cordova apps use case: Web apps that need some native functionality. PWA is a compelling alternative when developers are building a Web app that needs offline access or push notifications—so compelling that Cordova usage is sharply declining. But, PWAs are not the only factor in Cordova’s decline—there’s a relatively new entry in the mobile world that’s also taking market share…
Weekly downloads of the “react-native” npm package from December 2014 until December 2016. Data from npm-stat.com.
Slide 8: Electron for Desktop App Development
Weekly downloads of the “electron” and “nw” npm packages from September 2016 to November 2016. Data from npm-stat.com.
Image courtesy of Progress.