#3187: [WebUI] Upgrade ExtJS library
------------------------------+---------------------
Reporter: DjLegolas | Owner:
Type: feature-request | Status: new
Priority: major | Milestone: 2.x
Component: Web UI | Version: develop
Resolution: | Keywords:
------------------------------+---------------------
Comment (by damoxc):
Replying to [comment:4 DjLegolas]:
> Any thoughts and/or suggestions about this?
I've actually been getting frustrated at the lack of mobile support
myself. I've been using Vue.js a fair bit elsewhere, the ES6 requirement
isn't an issue, and ES6 makes JS far nicer to use.
Replying to [comment:5 baptx]:
> Why not use pure HTML / CSS / JavaScript?? I see several advantages:
I see plenty of disadvantages. There is a reason people don't reinvent the
wheel, as time is better spent elsewhere.
Replying to [comment:5 baptx]
> Progressive enhancement
(https://en.wikipedia.org/wiki/Progressive_enhancement) should be used in
order to have the basic functionality (e.g view / add / remove torrent)
working without JavaScript? if someone is using a browser addon that
blocks JavaScript like NoScript / uMatrix or a command-line browser like
Lynx.
If someone is using a command-line browser I'm sure they can work out how
to use cURL to send requests to the API to add a torrent. I'm far from
convinced the added complexity of having the web-app degrade gracefully in
the event of no JS is worth it. You would end up duplicating a lot of
work.
Replying to [comment:5 baptx]:
> Security vulnerabilities could also be introduced by a JavaScript
framework (it happened in the past).
Security vulnerabilities can be introduced by writing all the JS yourself,
I fail to see issue here.
Replying to [comment:5 baptx]:
> Using pure HTML / CSS / JavaScript? may take a bit more time to develop
but in the end it will be easier to contribute for most people since there
is no need of knowing a specific framework like ExtJS, AngularJS, Angular,
React, Vue.js, Ember.js (who knows which trend will come next and
deprecate all other frameworks...).
I would argue that this actually makes the barrier of entry higher than
using a framework. Using a framework means there is a subset of people who
have an understanding of the pattern and application design. Writing it
all from scratch means there would be no one outside of Deluge familiar
with the design.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3187#comment:6>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/063.16b984e64bf483fae209274f51b6946d%40deluge-torrent.org.