Confused on Ionic update [closed] - angularjs

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am currently working on Ionic 3 on several projects.
To keep up with the latest updates I need to upgrade to Ionic 5.
Now, the ionic 5 upgrade seems to re-work almost on all of my code. So I am confused about whether I should upgrade to Ionic 5 or should change the framework to React or Vue?
Another issue is most of the Cordova plugins I use are not currently supported(in other words, are not maintained anymore.)
Please share your thoughts.

I think you're mixing multiple questions here.
How do I migrate from v3 to v5?
The Ionic-Team made a lot of API-Changes from v3 to v4. They moved their components from angular to web-components and now support bindings to multiple frameworks. There is no automated migration from v3 to v4, so the easiest way might be to create a new ionic project and transfer and refactor your code manually.
Should I use angular, react, vue or vanillajs?
There is no automated migration, so the only benefit of this is, that you can now think about changing the framework. If you continue using angular, it might be the fastest way, as you only have to refactor according to API changes.
Also in the tags you wrote angularjs (angular v1), but ionic3 is using (angular v2), so I assume your code is written with angular.
What should I do with unmaintained cordova plugins?
I don't think you have many options here. You can switch to capacitor if you prefer the development process and use cordova plugins for functionality that capacitor has no plugin yet. There are many cordova plugins that work and are not well maintained. But if something is not working, you have to contribute to the plugin, remove the functionality from your app or write the native code yourself (e.g. with capacitor).

I would go with Ionic 5 together with capacitor which I think is a much better experience to work with than ionic 3 and Cordova.

Related

Is learning AngularJS necessary before learning Angular 4-6? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I want to pursue towards becoming a FULL stack developer before that I want to get my grip on Angular.
I already know about the differences between AngularJS and Angular, my question is,
Is it necessary to learn AngularJS before learning Angular 4-6?
If not, can I apply for any project/job that has a listing requirement of AngularJS?
Summary: Can I directly learn Angular 4-6 from scratch without AngularJS?
Also, please suggest regarding which version of Angular (2-6) should be choosed to learn from scratch.
no it is not necessary to know AngularJs to lear Angular4-6 but i recommend you to first take a look on typeScript because it is necessary before you get started with Angular4-6 you should start with Angular5 because it is latest and there is not much difference in Angular5 and Angular6 which is better for getting familiar with Angular
You may skip AngularJS, though understanding vanilla, ECMA javascript and typescript is at must before you start to learn any kind of JS framework.
Talking about which version to start learning, I'd rather started upon learning the latest version possible, then invested some time reviewing changelog afterwards.
While you understand that tech, the latest version will become stable and popular.
While they share many concepts, AngularJS and Angular are two completely independent frameworks. There is no need to know one before learning the other.
Angular is very different from AngularJS. Ultimate version of AngularJS has been released so it is in sunset phase of it's life now...
http://www.codelord.net/2018/02/04/angularjs-1-dot-7-the-ultimate-version/
Google say that in October 2017 the number of active Angular (that is,
2+) developers has surpassed that of AngularJS developers, which was
their cue all along to when they can start wrapping up 1.x.
Regarding the job - I think that future of the angularJS projects is migration to Angular/Vue/React so your Angular skills might be relevant. You may apply and let them decide.
I suggest to start learning from the most actual version which is 6 now

AngularJs directive access in new Angular [duplicate]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am looking into ways of migration a current Angular 1 project to Angular 4.
Options are ng-forward, ngUpgrade or rewrite.
I am thinking on rewriting it but with a twist.
I keep the current application
Start writing the new one parallel to it
All new NG4 rewrites, I want to use ... so bit by bit in other words.
Has anyone attempted this or know a better way?
Incrementally upgrade an AngularJS application to Angular.
One of the keys to a successful upgrade is to do it incrementally, by running the two frameworks side by side in the same application, and porting AngularJS components to Angular one by one. This makes it possible to upgrade even large and complex applications without disrupting other business, because the work can be done collaboratively and spread over a period of time. The upgrade module in Angular has been designed to make incremental upgrading seamless.
For more information, see Angular Developer Guide - Upgrading from AngularJS
The DEMO on PLNKR

Has angular been replaced with typescript? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
So I went through a good tutorial of Angular 1.x.
I visited angular.io to have a look at Angular 2.
All I can see is Typescript, Javascript, and Dart references.
Is what I learnt about Angular pointless now and should I start learning Typescript?
Thanks
TypeScript is only a superset of Javascript. So everything you can do in JS, you can automatically do with TypeScript, too.
With Angular 2 the whole framework changed. Things that partially stayed similar is the template rendering, where only a few keywords changed their name, but the overall concept stayed the same.
The approach for building the app however changed completely.
I'd suggest this article. Be careful though, since a few things stated on that page are already outdated again.
Yes, of course you should start learning Angular2 with Typescript(or any other available platform).
Angular2 framework has been written from the scratch in Typescript.
Believe me by far its one of the best frameworks available nowadays.It provides many features(You'll come to know once you start learning it). Testing components has become so easy.
You can use javascript, dart & typescript with Angular2. I prefer to use Typescript with Angular2. Compare to Javascript, typescript is easy and helpful. There is a separate process which converts your typescript code to javascript code.
while coming from Angular1.x(with JS) background, I understand it is not easy as Angular2.0 is not directly related to Angular1.x.
But soon Angular1.x will be replaced by Angular2.0 and then you will have to learn it so better to start learning now.
Additionally, you can migrate your Angular1.x apps to Angular2.0 with upgrade process
I have so many things to say but I think this much will help to go ahead.

Why should I use Angular 2? What are it's advantages over Angular 1? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Angular 1 excels in data binding and provided a structued MVC MVW framework.
It fails in providing built-in modularity.
What are the core selling points of Angular 2? Im not looking for opinion, just plain simple bullet point facts and Im only interested in core selling points.
Also what other libraries such as bootstrap / polymer gel well with angular 2?
For me? Just off the top of my head:
Support for Functional Reactive Programming using RxJS Observables.
Built from the ground up with Typescript, meaning Types are a first class construct.
Unidirectional data flow.
Native ES6 Modules, no more endless script tags.
Fully component based.
Better template syntax.
An even better Router.
Much better Dependency Injection.
Support for sped up initial loads thanks to server-side prerendering.
ZoneJS Support, no more digest loop!
Of those my favorite feature is definitely the FRP support. We can drastically enhance performance by using Immutable Objects or Observables for our change detection.
The Formbuilder API as well as the HTTP API is fully compatible with RxJS making it very very powerful.
As for libraries, Angular-Material is obviously a big one. Another favorite of mine is NativeScript, which aims to create fully native mobile applications from your Angular 2 App. I'm sure there'll be tons more once it actually releases.

Angular.js beginner what version should I use? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am starting to integrate Angular.js into my web project.
I see on the Angular.js download page they have version 2.0.0-snapshot although I don't think version 2 has been formally released.
From the looks of the download page I think the last stable version was 1.4.7. Is that the last stable version?
And also what is recommended? Should start with version 2 or version 1.4.7 (keeping in mind a I am complete beginner).
Angular 2 is currently in Developer Preview. Angular 1.X is recommended for production applications.
That said. It's pretty important to remember that Angular 2 is basically a completely different framework with little-to-no backwards compatibility. When we all do switch (and we will someday), we'll have to start with a fresh plugin community, or wait until developers choose to update their modules to include an Angular 2 version.
Our goal with Angular 2 is to make the best possible set of tools for building web apps not constrained by maintaining backwards compatibility with existing APIs. - Angular Blog
I think the time to migrate will be around 6 months after a production release of Angular 2. That will give the developer community time to catch up and give the framework time to mature in the real world.

Resources