News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by GordonS on Wednesday August 07, 2019 @04:36PM (#20638714)
I take a similar approach for 9/10 of the enterprise web apps I build, but use ASP.NET Core MVC instead of PHP, and I also favour SASS.

Point is that SSR (Server-Side Rendering), with a sprinkling of simple JavaScript and XHR calls as required, is enough for almost everything I do, and it means build are really simple. Doubly so with a strongly typed language like C#.

I've worked on Angular and Vue projects, and the complexity level was (subjectively) much higher, despite these particular web apps not requiring any real level of client-side functionality. I find JS tests to be much more complex and brittle than C# ones too. Honestly, I hated it! Now, some of this was undoubtedly because I'm more comfortable with what I know, but certainly not all of it.

Re:Why is modern web development so complicated? by pixelrevision on Wednesday August 07, 2019 @08:02PM (#20640522)
People vastly underestimate how complex client side code can get and how much automatic functionality browsers hand you. Whereas a nice web framework has users, permissions, session management, templating, validations and forms all set up for you with battle tested out of the box behaviors.

A frontend framework is great if you are a company that really needs to slim down bandwidth and can hire expensive devs to maintain it. But for a simple no nonsense business application it’ll just slow you down and will gravitate towards being a mess.

Re:Why is modern web development so complicated? by elboru on Wednesday August 07, 2019 @10:26PM (#20641276)
Have you tried Razor Pages? I used it in my last project and I loved it, it was a lot simpler and subjectively more fun than using regular MVC.
Re:Why is modern web development so complicated? by GordonS on Thursday August 08, 2019 @07:53AM (#20643636)
I haven't tried it, but have read uo a bit and seen some examples.

TBH, I'm not all that keen, possibly because it reminds me of the bad old days of webforms with code-behind files. Maybe I should try it in anger before I judge it though :)

Re:Why is modern web development so complicated? by nsfwfavorites on Tuesday August 20, 2019 @08:44AM (#20746277)
Determined gripping agama