News for hackers. Stuff that matters.
Re:Building a web app with no framework by sidlls on Saturday March 05, 2022 @12:59PM (#30569980)
This is true. The question is whether it's necessary or good (for consumers, for businesses, for the software engineering profession, etc.).

The answer is subjective and lies within a spectrum, surely, but I tend toward the negative end of that spectrum. I don't believe the complexity in web applications is good (for anyone, except possibly browser makers, front-end developers and framework makers) and therefore it's not really necessary.

The browser today is mostly a terrible, inefficient, and limited functionality VM over the host OS, and that provides an inconsistent user experience across devices and even minor browser versions. What I've seen over the last 20 years of my lifetime has been an unfolding of a sort of tragedy of the commons in this context. We have a seeming endless supply of computational resources, "everyone" wants to exploit it in the most ruthless way possible, and it has lead to a deplorable state in the industry where bad practices and inefficiencies are not only tolerated but sought (for resume building, fast releases, whatever), and ultimately it results in terrible abuse/misuse of the resources we have.

Re:Building a web app with no framework by ozim on Saturday March 05, 2022 @01:56PM (#30570668)
It is necessary and good.

We are re-implementing complex "excel apps" into web applications. Amount of money I have seen lost because people were using different versions of excel sheets that were not up to date is staggering.

Users expect full interactivity and instant calculations as they change values (just like in excel), doing it with "posting forms to back-end and recalculating" will not sell at all because it will be worse UX than excel. Having complex calculations over multiple fields require use of framework because making it with vanilla js is just pain with no MVVM and observables and two way bindings.

Then of course if you have web app you have one database all your employees are working on and all price items can be updated easily in some admin panel for every new customer.

Re:Building a web app with no framework by 9wzYQbTYsAIc on Saturday March 05, 2022 @05:25PM (#30572566)
> Amount of money I have seen lost because people were using different versions of excel sheets that were not up to date is staggering.

Similar opportunity losses can be found through not keeping npm libraries up-to-date or through not doing full refactoring when there is a mainline change in a framework’s coding styles.

.NET, React, and Angular all suffer from that problem, to this day, in regular enterprise, and I’m sure Java does too.

Re:Building a web app with no framework by chii on Saturday March 05, 2022 @08:41PM (#30574130)
People on different excel versions causing business errors is going to have an order of magnitude higher problem than libraries not being up to date. At least an old version of react will still work - and if it had an error, that error was acceptable at the time of shipping. Plus the developer is in charge of updating libraries, presumably with some forethought. A user updating their excel at their whim is uncontrollable and irreversible.
Re:Building a web app with no framework by 9wzYQbTYsAIc on Sunday March 06, 2022 @10:39AM (#30578243)
> People on different excel versions causing business errors is going to have an order of magnitude higher problem than libraries not being up to date.

Do you have a link to software engineering research that would corroborate that opinion?

Re:Building a web app with no framework by sdoering on Saturday March 05, 2022 @03:32PM (#30571592)
> Amount of money I have seen lost because people were using different versions of excel sheets that were not up to date is staggering.

Isn't that a processual problem? An organizational and structural problem?

I have seen the same with Google Sheets as with Excel. I know Excel isn't liked in a lot of tech circles but I personally think MS came a long way with it.

But yes - it can't solve organisational problems.

Re:Building a web app with no framework by jazzyjackson on Saturday March 05, 2022 @09:58PM (#30574609)
I wonder how much money has been lost hiring software developers to implement something that Excel was handling fine. (snark snark, sorry, of course there are a lot of good reasons to move away from excel, but many projects fail or money might have been better spent elsewhere given how expensive it is to contract out for something new)
Re:Building a web app with no framework by withinboredom on Sunday March 06, 2022 @02:54AM (#30575824)
In my experience in being hired years ago for this kind of work, there is a significant cost to going “web app” but I’d also sell custom excel plugins. Usually these businesses were hitting the limits of excel’s capabilities when humans need to be involved (complex and hard to adjust formulas, copy/paste mistakes, etc). Most businesses don’t realize they can just have a custom excel plugin, and sometimes that is all they need. Sometimes a web app or custom software is the better solution.
Re:Building a web app with no framework by jazzyjackson on Sunday March 06, 2022 @03:13AM (#30575912)
interesting... whats that look like? I know of VB script that can manipulate tables... does that let you do custom GUIs too? Any API where a webform could interact with excel?

I might like to get into this field, solving business problems without building a whole app sounds great.

Re:Building a web app with no framework by withinboredom on Sunday March 06, 2022 @09:35AM (#30577813)
Just install the SDK when installing Visual Studio. I don’t see why you can’t have an embedded web view as long as you love Internet Explorer… it’s easier to just create a native UI though and call an API.
Re:Building a web app with no framework by ozim on Saturday March 05, 2022 @04:06PM (#30571865)
Yes but as my experience shows process/structural problems are quite easily solved with software.

Then if someone has problem with process you tell them "it is software that requires it" and they comply.

Organizational problems are mostly problematic to translate to software and make projects die. Because if company is not organized, they won't have possibility to organize their requirements which will lead to problems.

Re:Building a web app with no framework by couchand on Saturday March 05, 2022 @10:12PM (#30574684)
> process/structural problems are quite easily solved with software.

My experience has been the opposite: the software is easy, but only if you already know what it needs to do. So you have to actually solve the problem first.

> Then if someone has problem with process you tell them "it is software that requires it" and they comply.

How incredibly user-hostile. If they have a legitimate concern, don't leave it unaddressed. If there's something important about the process they're missing, it's a mistake to use the current state of the software as an excuse.

Re:Building a web app with no framework by ozim on Sunday March 06, 2022 @05:12AM (#30576421)
I wonder why people so often are picking least charitable interpretation and go with it.

If I would write "I like fight sports" would you write "how incredibly hostile, don't punch people on the streets"?

Re:Building a web app with no framework by couchand on Sunday March 06, 2022 @12:23PM (#30579129)
Can you help me see the more charitable interpretation here?

It sounded to me like the suggestion was to appeal to the supposed inflexibility of software whenever a question about process is raised.

The software is entirely malleable. If the process can't change, explain why. But don't pretend that the software can't change.

Re:Building a web app with no framework by mattgreenrocks on Saturday March 05, 2022 @09:19PM (#30574387)
VB6 was better at this use case for 1/8 the resources, and had a much easier learning curve.
Re:Building a web app with no framework by 7sidedmarble on Saturday March 05, 2022 @01:57PM (#30570677)
Well not everyone is building websites on the web. Building an app for the web is not some horrible thing. Google docs, sheets, etc are all perfect examples of the kinds of apps suited to the web: ones that benefit from the ability to be accessed from anywhere on any device, and encourage collaboration.
Re:Building a web app with no framework by sidlls on Saturday March 05, 2022 @03:52PM (#30571750)
We had this functionality before web apps were a thing. I'm not going to claim it was some golden era/glory days in a bug-free, seamless cross-device nirvana, but it's not like it was a wasteland, either. And for all the promise of cheaper, better apps that the webapp paradigm has been suggested to bring, we still pay a lot for armies of developers to write this stuff, and it's almost uniformly worse in both quality and feature completeness.
Re:Building a web app with no framework by mattgreenrocks on Saturday March 05, 2022 @09:18PM (#30574379)
Yeah, this is the most damning thing. It’s clear that the web platform seems to resist being tamed with our current tooling. Adding more devs doesn’t fix it. As time goes on I become more skeptical that tooling can even fix it.

The impedance mismatch of a document viewer being made into a general app platform has yet to be truly overcome. All web apps try to eke out a living in the shadow of this.

That it seems to be everywhere these days is more a function of economics than anything else.

Re:Building a web app with no framework by datavirtue on Sunday March 06, 2022 @07:00PM (#30582530)
Winner!!
Re:Building a web app with no framework by zdragnar on Saturday March 05, 2022 @02:44PM (#30571180)
One established business and another startup I worked at absolutely thrived explicitly because we built web applications rather than native ones.

In the first case, we kept it narrowly tailored to two pages that absolutely needed that level of interactivity. In the second, requiring customers' employees to install an app on their phones would have been a non-starter during the sales process, and the lack of an app was a major selling point for others.

YMMV- oddly enough, both made use of the canvas element in critical parts (these were not simple CRUD websites).