What if we've had web development round the wrong way for the last 10 years?
twitter.com
twitter.com
* UI get's intertwined with logic and DB access * monolithic applications * UI developers have to have access to the full server side application
I guess overall I wasn't suggesting this approach as an alternative to traditional django-eske apps, but rather to CRA-eske single page app platforms.
Logic and state are intertwined with UI in React/Angular apps, without the well-understood structure and techniques that can make server-side code manageable with clear separation of concerns. That happens because of the client-side frameworks, and limitations of focusing skills on the client side.
Every server-side framework has supported templates for front-end developers, for a long time. There’s no reason someone focused on the UI has to know any more about the database and business logic working with traditional server-side rendering than they do with React or Angular.
I could make the case that Javascript is a sketchy language for implementing business logic but that’s a matter of taste.
I would argue your case for cloudflare workers being "sketchy" only applies if you're confident you're better at "automate provisioning and configuration" than cloudflare.
In the end you have two choices: run your own hardware and networking, control everything; or, use a "cloud" infrastructure provider and accept you don't really have control.
Once you've given up fundamental control of the hardware networking and OS, I don't really see the advantage of managing provisioning and configuration. I definitely don't see a sensible argument that not doing so is "sketchy".