2017 JavaScript Framework Review -- Front-End Frameworks

Overview:

For the JavaScript community, one of the main functions of npm is to help developers discover the libraries and frameworks they need in the npm Registry. npm's powerful search capabilities help find a set of related packages, while its built-in documentation and usage statistics can help developers decide which package to use.

An important evaluation factor in the selection process is the ongoing community support for the package project: is it being actively maintained? Is there a large enough community to sustain the project?

The popularity of the software package is an important consideration in the evaluation process. Whether it's through blog posts or tutorials, a package with a large community means more developers can help you with your problems. A large community also means that there is a greater chance of finding a fix before a bug is encountered. If you are a large team, using popular software packages will also make it easier for you to recruit developers who are familiar with those software.

Using npm's download statistics, developers can see how many people use and maintain a package. Once a package is added to the software, the package has a very long life, because once the developer installs the package, it is rarely removed from the package, it is because of this very low "churn" ”, the usage of the installation package will hardly decrease. And as the number of npm users continues to rise, so does the number of packages in the npm Registry.

When considering the popularity of a package, developers should focus on the relative popularity of the package, that is, the number of downloads of the package as a percentage of the downloads of all packages in the Registry, rather than the absolute growth rate of the package, because The absolute downloads of packages are constantly increasing.

 

Overall data for the Registry

The sum of all package downloads in the npm Registry shows that the npm ecosystem is experiencing an explosion of continued growth. JavaScript is getting more and more popular and npm is being adopted by more JavaScript community.

Currently, about 75% of JavaScript developers are using npm, and that number is rising, while there are now about 10 million npm users.

Below we measure packages as a percentage of all software in the npm Registry.

 

front-end framework

Below we analyze the most popular front-end frameworks:

  1. Backbone
  2. React/Preact
  3. Angular
  4. Human
  5. View

 

Backbone

Backbone is one of the first JavaScript web application frameworks. Backbone accounted for nearly 1% of npm Registry downloads in its early 5 years. But since 2013, Backbone began to decline sharply, and it has continued to decline. Even so, Backbone has 750,000 monthly downloads, which is quite a bit of usage.

 

React

As you can see from the chart above, React has experienced massive growth since 2014. In 2017, React has become the most popular front-end framework. React is not a complete end-to-end solution for building web applications. React is a well-designed solution for the specific needs of an application. And React can easily provide multiple alternative solutions for other parts of the application. Because of this modular nature, React has formed an ecosystem of related packages that solve problems in other parts of the application.

Web developers are actively adopting React, and developers in other fields such as mobile and desktop app development are also using React.

 

Preact

 

Preact is React's little brother and is an independently developed React replacement. Compared to React, Preact sacrifices compatibility with older browsers for performance and size improvements. Although the overall usage rate of Preact is relatively low, Preact has won the attention of many developers, and its future potential should not be underestimated.

 

Angular

Angular is a complete framework, a complete solution for building web applications. Angular is the second most popular framework after React, twice as popular as Ember or Vue.

Angular is primarily built and maintained by Google. Although the relative popularity of Angular did not grow significantly in 2017, it has a large community, huge resources from Google, and continued support for it, so Angular is still worthy of continued use by developers.

 

Human

Ember 是一个由各种大公司形成的完整框架,但它没有主要的企业支持者。从 npm 的数字看来,Ember 在2016年下滑后,又在2017年逐渐出现上升。

 

Vue

Vue 是由曾经在 Angular 工作过的 Google 前工程师创建的,与 Ember 的流行程度大致相同,Vue 在绝对流行度方面略低于 Angular 的一半。Vue 的增长速度远远超过 Ember 和 Angular,预计 Vue 会在2018年超过 Ember。

 

2017年前端框架情况

上图显示了2016年10月至2017年10月的12个月期间,各个框架的绝对受欢迎程度及其增长情况。从总体情况中,可以得到以下结论

  • Preact 虽然很小,但发展最快。
  • Vue 的成长速度也非常快。
  • Ember 在过去的12个月里受欢迎程度有所上升。
  • Backbone 已经不再那么受欢迎了。
  • 当用户从1.x转移到2.x时,Angular 的受欢迎程度保持不变。
  • jQuery 仍然非常受欢迎,但用户使用量越来越少。
  • React 既庞大又在快速增长。

 

JavaScript 开发工具推荐

SpreadJS 纯前端表格控件是基于 HTML5 的 JavaScript 电子表格和网格功能控件,提供了完备的公式引擎、排序、过滤、输入控件、数据可视化、Excel 导入/导出等功能,适用于 .NET、Java 和移动端等各平台在线编辑类 Excel 功能的表格程序开发。

本文是2017年 JavaScript 框架回顾的第一篇,后续还有 React 生态环境介绍和后端框架两篇文章,敬请期待。

原文链接:https://www.npmjs.com/npm/state-of-javascript-frameworks-2017-part-1

转载请注明出自:葡萄城控件

 

关于葡萄城

活字格由葡萄城公司研发、销售并提供技术服务。葡萄城公司成立于1980年,是全球领先的集开发工具、商业智能解决方案、管理系统设计工具于一身的软件和服务提供商。西安葡萄城是其在中国的分支机构,面向全球市场提供软件研发服务,并为中国企业的信息化提供国际先进的开发工具、软件和研发咨询服务。

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326170523&siteId=291194637