新项目 - Angular 1.4 还是 2.0? [英] New Project - Angular 1.4 or 2.0?

查看:21
本文介绍了新项目 - Angular 1.4 还是 2.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们即将开始使用 Angular 和 Kendo Components 的新项目,使用 Angular 最新版本 1.4,但我听说 Angular 2.0 有太多新东西,但同时它没有向后兼容性.

We are about to start the new project with Angular and Kendo Components, using Angular latest version 1.4, but I am hearing too many new things with Angular 2.0 but at the same time, it does not have backward compatibility.

由于没有公布发布日期,我们对是等待 2.0 发布日期还是继续 1.4 感到困惑?

With no release date announced, we are kind of confused about whether to wait 2.0 release date or go ahead with 1.4 ?

请提出建议.

推荐答案

Angular 1.x 至少会在接下来的 3 年里出现.原因如下:

Angular 1.x is here to stay for the next 3 years, at least. Here's why:

最初 Google 表示他们将支持 AngularJS 1.x 大约.2015 年末发布一年后2.0.(整个 2016 年都是如此),他们收到了社区的强烈反应.

Originally Google said they would support AngularJS 1.x for approx. one year after the late-2015 release of 2.0. (so for the entire 2016), and they received a harsh reaction from the community.

然后,他们改口了,说只要有高需求,他们就会支持版本1.这种需求将以某种方式通过社区采用版本 2 而非版本 1 的程度来衡量.(假设又是一年的更新,2017 年)

Then, they changed their tune, saying that they will support version 1 as long as there is a high demand. This demand will be measured somehow by how well the community adopts version 2 as opposed to 1. (let's assume another year of updates, 2017)

就我所见,AngularJS 的招聘职位仍然很大,这表明公司仍在投资大量出现在 1.x 中.用于新项目.

When it comes to job posts AngularJS is still HUGE from what I've seen, which shows that companies are still investing heavily in 1.x. for new projects.

所以,假设 Google 将在 2018 年放弃该项目.AngularJS 仍然是开源的(不像 Windows XP),所以其他人有机会从谷歌停止的地方开始开发.即使对于 1.4 版,Google 也声明:

So, let's say Google will abandon the project for 2018. AngularJS is still open source (not like Windows XP), so there's an opportunity for others to pick up development from where Google left off. Even for version 1.4, Google states that:

"这个 Angular 版本是第一个由更广泛的面向社区的团队,包括许多来自外部的人Google Angular 团队..."

"This Angular version is the first to be run by a much broader community oriented team, including many people from outside of the Google Angular team..."

(http://angularjs.blogspot.com/2015/05/angular-140-jaracimrman-existence.html)

这表明 Google 正在慢慢将项目发布到社区手中.

This shows that Google is slowly releasing the project into the hands of the community.

有许多开源项目在没有 Google 支持的情况下也能正常运行.Angular 1.x 也是如此.3 年过去了,2.x 版本将更加稳定,迁移路径将得到验证和测试.

There are many open source projects out there that are doing fine without Google's support. So will Angular 1.x. By the time 3 years have past, version 2.x will be more stable and the migration path will be proven and tested.

如果这听起来很可怕,你可以选择另一个框架,但很可能会出现同样的问题.这是一个快节奏的前端世界.

If this sounds scary, you can just pick another framework, but chances are the same problems will arise. It's a fast-paced front-end world.

这篇关于新项目 - Angular 1.4 还是 2.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆