Translator: An Dong (web front end development engineer of Hujiang)
Please indicate the author and source of this article.
Original address: http://developer.telerik.com/…
As of December 2015, modulecounts.com Number of modules
In the past year, the growth of NPM shows no signs of slowing down. In fact, the number of NPM packets increased from 200000 to about 350000, forcing the entire Y-axis scale to be adjusted.
As of December 2016, modulecounts.com Number of packages counted
There are many factors behind the growth, one of which is that many companies use node in basic services. This is in line with our forecast last year.
“In 2016, we can expect more companies to adopt node and its package management tool NPM further. Because of the long-term support plan of node, Microsoft, IBM, Intel, progress and other large companies will continue to use node to replace some traditional enterprise solutions such as. Net and Java. “
From the growth trend of node, the above prediction results are not unexpected. The case study on node shows that a number of medium-sized companies have started to use node, including Netflix, GoDaddy and capital one.
Node has been used in key infrastructure, and NASA is the most eye-catching. You can also take a look at NASA’s research on node, and I’ll just excerpt a few words here.
“When considering the safety of astronauts, a slight hiccup or service interruption can lead to life and death accidents. From EVA data to astronauts in space, Node.js It helps to ensure the safety of all people and things. “
stay npmjs.com The search for “angular” yielded nearly 10000 results. Angular is one of the many class libraries distributed through NPM.
In 2017, we believe that more companies will switch from traditional development methods (such as Java and C ා) to node. We believe typescript will also help drive node’s growth, as it is more friendly to Java and C ා developers. Node’s commitment to support lts versions will also help this trend, as it ensures that the versions used by these companies will be continuously supported and maintained in the coming years.
Phonegap and Cordova
Google’s progressive web apps home page
PWAs brings a lot of similar native functions to the web world, such as push notification, offline access and home screen icon. Last year, we predicted that Google would slowly implement PWA. It turns out that this prediction is still too conservative because Google has made it clear that they will launch a variety of activities to promote PWAs. At the recent chrome developer summit and this year’s Google I / O conference, Google arranged a lot of discussions for PWAs.
PWAs is closely related to our discussion, as it has begun to encroach on Cordova’s domain – Web applications that require native functionality. If your web application needs offline access or push notification, it’s better to choose PWA instead of Cordova. While it’s hard to measure how many people choose PWAs in hybrid applications, there is already a lot of evidence that Cordova usage is shrinking. Here’s how many times a week Cordova has been downloaded in the last two years. As you can see, although the number of Cordova downloads has not fluctuated significantly, the increase is not so obvious.
Weekly downloads of “Cordova” NPM packages from December 2014 to December 2016. (data from NPM- stat.com )
There is another reason for the recession. Although we believe that PWA is eating away at Cordova’s share, we also believe that newer development methods in the mobile world are also eating into Cordova’s share.
Native mobile apps
In last year’s discussion, we predicted that 2016 would be a year when these frameworks were mature and widely used, and now it seems that these forecasts are accurate. In the past two years, the number of weekly downloads of react native has continued to increase.
Weekly downloads of “react native” NPM packages from December 2014 to December 2016. (data from NPM- stat.com )
Native script has the same trend.
From December 2014 to December 2016, the number of weekly downloads of “native script” NPM software package. (data from NPM- stat.com )
If you compare the number of downloads of “electron” and “NW” on NPM, you will see that the trend of “electronic” (red line) and react native is similar, and NW.js The download curve is relatively flat.
Weekly downloads of “electron” and “NW” NPM packages from September to November 2016. (data from NPM- stat.com )
In December 2015, electron had 20000 stars on GitHub, NW.js Today, Elecron has nearly 40000 stars, NW.js Just over 30000.
Electron is also accepted by mainstream desktop applications. The framework now provides support for visual studio code. Visual studio code, provided by Microsoft, is a popular editor with more than five million users by April. Electron also promotes the react and angular communities, so tutorials for using electron in both frameworks can be easily found online.
If you ask analysts what’s going on in developing countries, they blurt out popular concepts like virtual reality, chat robots and the Internet of things (IOT).
“BOT Builder based on node is a powerful framework for building robots. It can handle various forms of interaction and give more guidance. It can clearly show these possibilities to users. It uses some frameworks (such as express and Restify) so that developers can develop robots in a familiar way.”
Ikcamp’s original new book “practical combat of efficient development of mobile web front end” has been sold in Amazon, Jingdong and Dangdang.