Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does writing HTML into database entries count? Because certain large entertainment companies are ahead of the curve if so.


This is just compiling and caching right?


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.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: