amdw / jianjin

A vocabulary manager web application for Chinese
6 stars 1 forks source link

Move away from AngularJS #61

Open amdw opened 5 years ago

amdw commented 5 years ago

AngularJS is no longer being developed and has been switched to a "long-term support" status (see announcement). It will therefore likely become necessary to move to another front-end framework at some stage, before long-term support ends in 2021.

Later versions of Angular are a possibility, but the migration would require considerable work, as it is very different from AngularJS, and as it requires a pre-processing phase, would complicate the build.

My current thinking is that this would be a good opportunity to try out Vue.

amdw commented 5 years ago

Another possibility which seems well worth considering is Ionic. This would lay the foundations for building a mobile app at some point in the future.

Since the Angular integration of Ionic seems the most polished, and it would likely be impossible to escape the necessity of a pre-processing phase for the front-end code during the build, this would seem to be an argument for adopting Angular.

I don't believe it's possible to use Bootstrap with Ionic - the latter basically seems to be a set of cross-platform UI widgets which can be used with standard frameworks - so this decision has a bearing on #64 as well.