News for hackers. Stuff that matters.
Re:What We Lost with PHP and jQuery by davidmurdoch on Sunday June 01, 2025 @12:22PM (#44151981)
Had a 45 minute conversation with someone from devops this week trying to convince them that I don't need an API server and Front end server since my application is just an app that outputs HTML and uses HTML forms with a maximum of about 2 simultaneous users ever. He couldn't fathom this "architecture" and I ultimately lost the battle ... I must have a front end server for static content, as they don't know how to set up just a backend. He even argued that I must ship JavaScript because oauth won't work without it. I got tired and gave in... I'll just ship a "front end" with a static redirect to the "backend" domain.
Re:What We Lost with PHP and jQuery by indigodaddy on Sunday June 01, 2025 @12:27PM (#44152004)
Why on earth is a devops dictating this sort of thing?
Re:What We Lost with PHP and jQuery by ebiester on Sunday June 01, 2025 @12:35PM (#44152077)
Probably because it's an "Ops" team that controls the keys and uses infrastructure as code rather than devevloper and operations combined as a mentality.

And the ops team has preconfigured systems for single page applications but not MPAs.

Re:What We Lost with PHP and jQuery by davidmurdoch on Sunday June 01, 2025 @01:46PM (#44152568)
Yeah, basically this. Not really preconfigured though, from what I can tell (and how long it's taking) but more like they have precedent for an implementation that has passed security audits.
Re:What We Lost with PHP and jQuery by davidmurdoch on Sunday June 01, 2025 @12:56PM (#44152223)
I was surprised myself. I think it is because my org doesn't typically need to provision servers with oauth authenticated endpoints. I think they've done it only once before and for some reason standardized the first way as the way.

I just need to ship this tiny tool very quickly (initial server request to delivery is about 5 weeks, but I didn't know they were complicating things this much until about 3 weeks after the initial request), otherwise I wouldn't just give in here.

Re:What We Lost with PHP and jQuery by sam_lowry_ on Monday June 02, 2025 @06:55AM (#44157513)
OAuth 2.0 is tricky with static frontends, I concur )
Re:What We Lost with PHP and jQuery by timw4mail on Monday June 02, 2025 @09:53AM (#44158883)
There's a generation of developers who have never used bare-metal hardware, and have never built a simple server-generated website.