News for hackers. Stuff that matters.
Re:Building a web app with no framework by itronitron on Saturday March 05, 2022 @04:19PM (#30572000)
No, you still don't need a web UI framework for rich front-end interactivity. That assumes however that your developers know how to write a callback function.
Re:Building a web app with no framework by onion2k on Saturday March 05, 2022 @05:24PM (#30572560)
"You don't need a framework" assumes your developers will write code that operates with everyone else's code nicely, without accidently writing something that will be painful to remove in a year's time.

Frameworks generally enforce a pattern where things are quite well encapsulated, don't pollute global spaces, don't mess with prototypes, and manage callbacks well. Code written by one person, or a group of well-organised experts, also does that, but as soon as you have a less talented team, or a couple of juniors who aren't being overseen because the seniors are too busy, things creep in to the code that have the potential to blow up later. Frameworks help your team avoid those footguns (and introduce some different ones, but at least they're usually easier to manage).

Re:Building a web app with no framework by mattgreenrocks on Saturday March 05, 2022 @09:20PM (#30574394)
Maybe the idea of throwing a bunch of junior devs at something is suspect to begin with?
Re:Building a web app with no framework by 6510 on Saturday March 05, 2022 @07:18PM (#30573489)
but then the juniors never become the experts
Re:Building a web app with no framework by datavirtue on Sunday March 06, 2022 @07:02PM (#30582546)
They become managers long before that happens.
Re:Building a web app with no framework by orcasushi on Sunday March 06, 2022 @04:23AM (#30576226)
Yes true! I once had the honour to work with a 'tech-lead' dev that rewrote a whole map application to AngularJS, which was the hype back then. I remember him not being able to get a just slightly complicated chain of asynchronous stuff working in vanillaJS. No problem, because he had AngularJS double binding now. No need to learn vanillaJS. Wicked stuff.