SW360 Frontend #1784
Replies: 3 comments 7 replies
-
Svelte Kit is good but its very young in the market... and maturing... so now it will be very early to adapt svelte for a enterprise application like sw360. Angular and React its difficult to choose, as |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply. As I mentioned in Slack, I would recommend React. Svelte is still in its infancy. Angular on the other hand is complex and expensive to learn. So, React is the best choice. It is also a popular and friendly framework for those who want to develop many SW360s.
And you can see how React is popular by google trends. and npm trends is also helpful our discussion. |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion, We're alive and well now :-) |
Beta Was this translation helpful? Give feedback.
-
As possible replacement from Liferay frontend, and to simplify SW360 deployment, there are initiatives to replace to a external modern Frontend work
Previous attempt using Angular JS was done by Bosch.io in this referenced branch but was not moved ahead and became outdated against current SW360 code.
Usage of this branch will be same as start from scratch complete new, which open up to possibilities, but for effect to reduce the choice amount, previous research on frameworks lead to 3 possible candidates referred below.
This discussion already start with possible winner horse, Svelte Kit, sine there are a full functional proof of concept done on the beginning of SW360 16 cycle release, made here sw360-frontend
One of the main factors considered is that current SW360 developers aren't web or frontend developers originally, so any framework MUST have an easy learning curve and have documentations already
Second, and important: JAVASCRIPT is a different mind set. For SW360 developers reality, choose framework by popularity is not an option, since is necessary an entire learning process, including how a javascript environment runs, how an web application and reactive elements work.
Some other details that are basic requirements:
The possible candidates, set on order of preference:
1 - Svelte Kit
Svelte enter in the top of the list as:
* huge growing in the usage on last 2 years
* Modern component oriented framework
* Easy curve adoption
* Most developed framework today
* Excelent documentation
2 - React JS
React is an obvious secondary choice, just as second due the DOM model making the learning curve hard, and slow development. It has though
* Large base adopted
* Plenty of documentation
* Easy to find resources
3 - Vue JS
Vue is the third, as the middle ground between React and Svelte, and with strong community but lack of the easy learning curve
Comparisons found to a general idea:
Beta Was this translation helpful? Give feedback.
All reactions