libreosteo / LibreOsteo

Open Source software for osteopathes
GNU General Public License v3.0
28 stars 17 forks source link

Disenguage AngularJS and migrate to VueJS #211

Open jbgury opened 4 years ago

jbgury commented 4 years ago

Allow to :

  1. reduce the size of generated js and bundle applications
  2. limit the obsolescence of the application
  3. allow to increase the possibility to extend the application
JocelynDelalande commented 4 years ago

Technically, I would take way more pleasure working with VueJS. Big refactor work ahead though !

Material design is nice about form input : it keeps them visually light.

Some exambles can be seen here : https://vuetifyjs.com/en/components/text-fields/#usage

I think it encourages us to reconsider the current modal edition design (with edit / save buttons toggling between two displays) in favor of simpler form views, always in « edit » mode.

That is just my opinion :).

AxiomeCG commented 3 years ago

Is there any schedule for this rework ? I'd like to contribute to this repository, but what is repelling me is the AngularJS framework. I'm a Angular 2+ developer, so I could use it to work on the rework if you chose Angular 2+.

What is the motivation for the migration to VueJS over Angular 2+ ? If it is really motivated, I have no objection to learn Vue to contribute to this project. I'm just not thrilled about learning AngularJS which belongs to past.

jbgury commented 3 years ago

Angular2+ is obsolete, and if we want to solve the technical debt we have to use the last version of Angular (when I'm writing this comment is Angular 11.x). It requires to rewrite all the JS app. Angular is so moving, too much for our capacity to switch on. VueJS 3 is a good compromise with lot of community support, lot of provided components and with good paradigm extract from AngularJS and ReactJS without changing all the world. It is well documented and well supported in the community. The work has already started in internal but not provided in a branch yet. Priority is to finish the 0.6.1 version

AxiomeCG commented 3 years ago

By talking about Angular 2+ I was talking about Angular 2, 3, ... 8,... 11 :)

I was working on my fork to refactor the existing js code to follow Angular 1 guidelines which is a tremendous help to achieve the single responsibility principle and cut down to services, controllers, factories, etc to see better what is to convert (in Angular or Vue)

But if you tell me that the migration began in internal, then maybe there is no purpose to do so anymore.