Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New Project - Angular 1.4 or 2.0? [closed]

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.

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

Please suggest.

like image 249
Sohan Soni Avatar asked May 18 '15 08:05

Sohan Soni


People also ask

Is Google discontinuing Angular?

In January of 2018 we laid out our plans for the final releases of AngularJS before entering long-term support and last year, we extended the LTS due to the global pandemic until December 31, 2021. Well, friends, the time has come and we're no longer supporting AngularJS.

Is Angular discontinued?

After a grace period induced by the current global pandemic, long-term support for AngularJS has been discontinued. While AngularJS will still remain available, its repo will be archived and will receive no more additional updates, including security patches.

Is Angular good for big projects?

Basically, in Angular, dependency injection has the capability to improve the readability of the code and it makes it easier to maintain it. This is a very beneficial point for the development of a large-scale enterprise application.

How do I upgrade AngularJS version?

Updating dependencies 6, change the versions of angular , angular-animate and angular-resource packages to 1.6. 6 in the dependencies section of the package. json file. Run npm install to ensure that the specified dependencies are downloaded into the application.


2 Answers

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

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.

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)

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.

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:

"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)

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

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.

like image 143
Nahn Avatar answered Sep 22 '22 08:09

Nahn


Angular 2 will certainly break backward compatibility, but it is not even a beta. That means that half of the implementation of Angular 2 is still on the air so you can't create a big Angular 2 application yet.

You need to wait a few months for Angular 2 to be stable + few months for the libraries to be ported to Angular 2.

In short, you better use angular 1.x for this project and maybe the next ;)

like image 34
Jesus Rodriguez Avatar answered Sep 21 '22 08:09

Jesus Rodriguez