News for hackers. Stuff that matters.
Re:The Frontend Treadmill by rpmisms on Friday March 21, 2025 @05:27PM (#43440976)
No, this is hand-writing HTML into SQL database rows for conditional rendering. I think it stems from a culture of remarkable IP protectiveness. Take your guesses at which company I am referencing.
Re:The Frontend Treadmill by bob1029 on Friday March 21, 2025 @08:09PM (#43442046)
I am struggling with why the practice of storing HTML partials in SQL is necessarily bad.

If anything, this is arguably one of the more structured ways you could go about attacking the problem of a complex web product.

Re:The Frontend Treadmill by rpmisms on Friday March 21, 2025 @08:16PM (#43442087)
Because you shouldn't repeat yourself. If you're going to store your content that way, it should be as agnostic as possible, so that when the inevitable redesign comes around, you're not stuck rewriting every single line of that database, like I was.