News for hackers. Stuff that matters.
Re:The web as a GUI toolkit by jaywalk on Thursday February 13, 2020 @01:34PM (#22320111)
Are you saying that we shouldn't have the advanced web applications that we do today?
Re:The web as a GUI toolkit by DougWebb on Thursday February 13, 2020 @01:38PM (#22320138)
I would say that we shouldn't have an advanced web application unless we need an advanced web application. Most of the time, we really don't need it.
Re:The web as a GUI toolkit by andai on Thursday February 13, 2020 @02:18PM (#22320514)
You must enable JavaScript to view this static text blog.
Re:The web as a GUI toolkit by bdcravens on Thursday February 13, 2020 @02:00PM (#22320343)
This presumes that heavy toolchains are a prerequisite of advanced web applications. The toolchains seem to be more about ergonomics than creating new capabilities.
Re:The web as a GUI toolkit by WorldMaker on Thursday February 13, 2020 @02:16PM (#22320493)
A large part of the toolchains are also bandaids on a lot of unnecessary friction caused by changing standards and moving targets. The web platform is almost to the point where a lot of those bandaids could just be ripped off: ES2015 modules are directly supported in most browsers today, same with CSS modules / syntax through ES2017 or more recent / and so forth, and protocol upgrades in HTTP2 and HTTP3 remove a lot of the performance-specific needs for things like bundling and minification.

The biggest hurdle to ripping off the bandaids (as with so many things in software development) is the rough edges of the long tail of legacy code. The biggest example being that there's still so much code written for CommonJS (or AMD) that needs shims to play well in ES2015 module worlds. (Because no one wants to stop the Node world and rewrite everything all at once.)

Re:The web as a GUI toolkit by fwip on Thursday February 13, 2020 @02:57PM (#22320893)
pika.dev is coming really close to shimming a ton of existing libraries into module world.
Re:The web as a GUI toolkit by mrec on Thursday February 13, 2020 @07:45PM (#22322901)
I'm not at all convinced that the heavyweight toolchains have led to any improvement in webapp quality. Maybe there are rockstar apps out there I just haven't seen, but for the most part the web these days is vastly more bloated and somewhat less stable than it used to be, without doing anything more that any user actually wants. This is not progress.
Re:The web as a GUI toolkit by thrower123 on Thursday February 13, 2020 @04:31PM (#22321621)
I can't think of a case in the past decade where I've really wanted to have a web application rather than a proper native thick client.

I understand the attraction, and I've had to build my fair share of them, but I don't like it at all.

Re:The web as a GUI toolkit by pjmlp on Friday February 14, 2020 @02:26AM (#22324655)
Actually yes, we don't need SPAs to display basic blocks of text with some animation.