From: Ed Tanous <ed.tanous@intel.com>
To: Derick Montague <Derick.Montague@ibm.com>,
"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Re: Updating BMC GUI Front End Framework
Date: Tue, 17 Sep 2019 15:09:53 -0700 [thread overview]
Message-ID: <010dd1ab-1081-a05f-ec20-3694e1bc0dce@intel.com> (raw)
In-Reply-To: <OF4FF7F8E2.9E3777F1-ON0025846D.004E7B10-0025846D.0051A226@notes.na.collabserv.com>
On 9/6/19 7:51 AM, Derick Montague wrote:
> Hello,
>
> We would like to start the discussion of migrating the BMC GUI off of
> AngularJS. The AngularJS long term support period is 3 years and started
> on 7/1/2018 and will end on 7/30/2021. You can read more about this on
> the angular blog
> - https://blog.angular.io/stable-angularjs-and-long-term-support-7e077635ee9c.
Despite what this says, I would be _very_ surprised if we hit any major
issues after that date. Given how many major applications are still
AngularJS based, I suspect the angular community itself will continue to
support the 1.X series for a long time to come. With that said, if
someone wants to move us to something more modern, I'm happy to see it
happen.
>
> The most likely options for migration are Angular, React, and Vue.
> LogRocket has a decent comparison of the 3 frameworks
> - https://blog.logrocket.com/angular-vs-react-vs-vue-a-performance-comparison/.
I think in the end a lot of this going to be determined by whomever
wants to do the work. Oddly enough, Inspur has an implementation of a
VueJS based single page app that I've run on OpenBMC before, and seems
to work ok, although it needs some work.
https://github.com/inspur-bmc/OR-web
In their implementation, they even reused the phosphor-webui recipe, and
their backend implementation was based on bmcweb, so at least we know it
interoperates with OpenBMC properly.
If we're going to Angular2+, we will likely need to move to typescript
as well given that's what most of the examples are in. I'm not sure if
that's something people are comfortable with at this point, but it's
something to consider?
>
> My first thought based on the size of the application, the need for a
> smaller footprint, and the benefit of a small learning curve would
> be Vue. However, I'm just throwing that out there to start the conversation.
>
To be clear do people believe the current footprint (about 440kb) is ok
at the moment? Or are we trying to get a reduction with this change?
> Does anyone else have a preference on the next front end framework?
One thing I'd like to understand is development process; How are we
going to separate out the javascript changes from the DOM changes that
are needed? Ideally, we'd separate them, and make sure that we can
generate the same DOM from both frameworks, which should insulate the
effort a bit from having to keep up to date on more recent changes. By
the time the new effort merges, hopefully it's identical to the existing
feature-wise.
On another topic, one thing I've wondered before: Do we want to
continue having a single page application? While it has its advantages,
they come at a cost of complexity and size. Would it be possible to
build a more statically driven site that gives the same experience?
I suspect the answer is no, but if we're talking about rewriting the
whole frontend from scratch, we should at least ask the question.
next prev parent reply other threads:[~2019-09-17 22:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 14:51 Updating BMC GUI Front End Framework Derick Montague
2019-09-07 21:52 ` Joseph Reynolds
2019-09-17 22:16 ` Ed Tanous
2019-09-17 22:09 ` Ed Tanous [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-09-10 2:30 Wang, Kuiying
2019-09-17 20:46 ` Derick Montague
2019-09-17 22:13 ` Gunnar Mills
2019-09-17 22:39 ` Ed Tanous
2019-11-12 21:34 ` Derick Montague
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=010dd1ab-1081-a05f-ec20-3694e1bc0dce@intel.com \
--to=ed.tanous@intel.com \
--cc=Derick.Montague@ibm.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.