News for hackers. Stuff that matters.
Re:I can only think that modern front end development has fa... by tomc1985 on Sunday April 04, 2021 @02:19PM (#26691645)
Why do these things even need to be an SPA? What function does that serve when the standardized and infinitely more compatible form-with-a-bit-of-javascript approach works just as well if not better?

I work on one such project and it absolutely drives me nuts -- it's a rails app, but the customer front-end (which is literally just a form to fill out) is a React SPA. There is nothing there that couldn't be done with Turbolinks and some light JS for validations/popups.

Re:I can only think that modern front end development has fa... by pas on Sunday April 04, 2021 @02:57PM (#26691898)
Because that's the mainstream, that's what's easy to procure, hire for, negotiate with vendors, that's the default, the preferred, the future proof, the supported.

And the tech doesn't really matter. I hate React with a passion, because Angular is so much more sane - in my experience. But it's fine. It's mature, it can be made to perform completely well.

The tech doesn't really matter. The people doesn't matter either. Even the costs doesn't matter as much as people think. What matters is political will, procurement culture, so systems and structures. This will influence (and bring) all the others in line.

Re:I can only think that modern front end development has fa... by throwawayboise on Sunday April 04, 2021 @04:31PM (#26692600)
> the future proof

No, not that.

Re:I can only think that modern front end development has fa... by JohnBooty on Sunday April 04, 2021 @03:52PM (#26692336)
Depressingly correct.

Variations of "nobody ever got fired for buying IBM", repeated forever.

Re:I can only think that modern front end development has fa... by DaiPlusPlus on Sunday April 04, 2021 @04:09PM (#26692447)
No-one got fired for writing an SPA, but we did decide not to renew the contract for the next major update.
Re:I can only think that modern front end development has fa... by murm on Sunday April 04, 2021 @02:53PM (#26691870)
When the only tool you know is a hammer you tend to just go around smashing things
Re:I can only think that modern front end development has fa... by polynomial on Sunday April 04, 2021 @02:40PM (#26691783)
How can a government contractor reasonably justify a price tag that's on par with fancy bloated non-government sites, for an no nonsense form + js approach?
Re:I can only think that modern front end development has fa... by danjac on Monday April 05, 2021 @06:27AM (#26697250)
Because they're a business that will charge as much as they can absolutely get away with and will do their best to make the project and maintenance costs as bloated as possible.

The question is why there aren't people in the government with either the technical ability or the political clout to audit and push back at any point in the project.

Re:I can only think that modern front end development has fa... by toast0 on Sunday April 04, 2021 @02:54PM (#26691881)
Costs the same as what you would otherwise pay, plus it actually works?
Re:I can only think that modern front end development has fa... by vram22 on Sunday April 04, 2021 @03:50PM (#26692316)
>plus it actually works?

Heh. "That was the most unkindest cut of all."

https://www.google.com/search?q=unkindest+cut+of+all+quote

Also, "the emperor's new clothes".

Both relevant.

Re:I can only think that modern front end development has fa... by davemp on Sunday April 04, 2021 @06:31PM (#26693407)
> plus it actually works

That’s the problem. Maintenance is big money for government contractors.

Re:I can only think that modern front end development has fa... by kitsune_ on Monday April 05, 2021 @10:53AM (#26699823)
It's really the people writing the requirements who are driving a lot of these things. Customers are used to Gmail, FB etc. and want similar experiences.
Re:I can only think that modern front end development has fa... by novok on Sunday April 04, 2021 @11:25PM (#26695010)
Because they want to program like they are mobile apps