News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by avgDev on Wednesday August 07, 2019 @04:21PM (#20638523)
This seems odd to me. I have been working in .Net MVC/Core and while I could write an application that is simply HTML/CSS/C#, I would think it would be insane to do so.

It takes a massive amount of resources to develop your own security, your own data access without any ORM tools, not cause memory leaks, properly disposing of resource.

I'm all about creating reliable applications, but a good framework is a great tool.

Re:Why is modern web development so complicated? by TomMarius on Wednesday August 07, 2019 @04:28PM (#20638617)
PHP is way more "batteries included" than C# without ASP.NET
Re:Why is modern web development so complicated? by crumpets on Wednesday August 07, 2019 @04:49PM (#20638881)
Yeah, unless you have workers, the whole "request is the lifecycle of the app" model of PHP makes it pretty damn hard to get a memory leak.
Re:Why is modern web development so complicated? by anthony_doan on Thursday August 08, 2019 @04:05AM (#20642689)
That's true, I've done PHP for a long time and there are like 1000 functions polluting the global namespace.
Re:Why is modern web development so complicated? by nfgu on Wednesday August 07, 2019 @04:50PM (#20638892)
It is entirely possible to import things like EntityFramework, Razor and Identity Framework without using ASP.NET MVC itself.

Just because the framework uses them by default it doesn't mean they can't be used separately.

You can use Razor Pages or a router like Nancy[1] without having to roll your own ORM or View Library.

[1] https://github.com/NancyFx/Nancy

Re:Why is modern web development so complicated? by arkh on Wednesday August 07, 2019 @07:37PM (#20640369)
> properly disposing of resource

It's php. Everything is trashed once the http request has been served.