Updating BMC GUI Front End Framework

Gunnar Mills gmills at linux.vnet.ibm.com
Wed Sep 18 08:13:49 AEST 2019


On 9/17/2019 3:46 PM, Derick Montague wrote:
>
>     Yes, it’s time to do it.
>

Derick, Thanks for starting the discussion on this! Kwin, Joseph thanks 
for your input!
Although we have time until AngularJS goes end of life, I agree we 
should start looking at moving away from AngularJS.

>     I suggest to use Vue, there are several reasons:
>
>     1. MIT license https://github.com/vuejs/vue/blob/dev/LICENSE
>     <https://github.com/vuejs/vue/blob/dev/LICENSE>
>
Angular and React are MIT as well.

>     2. The sizes of the libraries: Vue is about 80KB, much smaller
>     than Angular (500+KB), React(100KB).
>
I think some of the savings of Vue/React would be negated by the plugins 
we would need but agree this is a benefit.

>
>     3. It is already used by big internet company like Gitlab/Alibaba.
>
Google and Wix are some companies using Angular.
Facebook, Uber, Instagram, and Paypal, are some companies using React.


>     4. Vue is the most popular frameworks, according to the number of
>     stars on GitHub projects for Angular, React, and Vue.
>
>                                 Angular              React       Vue
>
>     # Watchers           3.3k                    3.7k     5.7k
>
>     # Stars                  43k                     71k       122k
>
>     # Forks                 11k                     16k       17k
>
I think your numbers are a little outdated.
If I look at the three projects, Vue has the most Stars, React has the 
most Watchers, Forks, and "Used by".

https://github.com/angular/angular
https://github.com/vuejs/vue
https://github.com/facebook/react

If I look at things like Google trends and npm trends, Vue does not 
score as highly as React.

https://trends.google.com/trends/explore?cat=31&q=Vue,%2Fm%2F012l1vxv,%2Fg%2F11c6w0ddw9 

https://www.npmtrends.com/react-vs-vue-vs-@angular/core

I agree though Vue.js has gained a lot of popularity since its launch in 
2014.


>     6. Vue is based on JS+HTML, it’s easy for existing AngularJS
>     developer to transfer, but not like Angular (TS) and React (JSX)\
>
I think what is easiest to move to is more complicated than that.

https://buildingvts.com/moving-on-from-angularjs-5417b79693a9

>     - Kwin
>
> Just adding a consensus of the 3 responders so far. Anyone else have 
> any feedback on the future front-end framework for the GUI?

I think any of these frameworks would work. I would like to see more 
discussion on this, specially around what benefits we are trying to gain.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190917/5fee3029/attachment.htm>


More information about the openbmc mailing list