The HTML Template Is the Core of All Front End Vs. Back End Problems
Posted2 months agoActive2 months ago
elixirforum.comTechstory
calmmixed
Debate
60/100
Frontend-Backend SeparationTemplatingMvvm
Key topics
Frontend-Backend Separation
Templating
Mvvm
The post discusses how HTML templating is at the core of frontend-backend problems and proposes a solution, sparking a debate on the coupling of frontend and backend systems.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
9m
Peak period
4
0-1h
Avg / period
2.2
Comment distribution11 data points
Loading chart...
Based on 11 loaded comments
Key moments
- 01Story posted
Nov 5, 2025 at 2:59 PM EST
2 months ago
Step 01 - 02First comment
Nov 5, 2025 at 3:08 PM EST
9m after posting
Step 02 - 03Peak activity
4 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 5, 2025 at 11:04 PM EST
2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45827171Type: storyLast synced: 11/17/2025, 7:54:01 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Wouldn't that be like a ViewModel in MVVM?
Maybe we need to acknowledge that you can't seperate them as they both exist with a need to produce HTML. But instead position the html closest to who it best serves and let them inform the other side. IE JS is most concerned with html as it interacts with it more where as the server only needs to really produce it once.
IMO your take is the worst take on this issue.
Ok I will bite. in the realm of desktops, what is the "backend"?....
But also lets assume you are talking about c/rust what ever code. Then you saying that because qt/gtk does not generate something for that code that is equivalent? This is such a reach. First The c code does not need to render a initial output before qt or gtk kicks in for starters. sounds like you just want to boil the ocean. F it, lets reinvent TCP everyone...
Also just gonna put this out there, what is your web agent if not a desktop app...
But really I can't even with this. I'm looking for sensible solutions to this real problem. I guess throwing your hands up and saying everything sucks is an option but I don't have time to think like that.
Calling the server distribution is an over simplification of the issues. To this point we should only use the browser in the terminal, but even when its just text it still has to "format" it's content.
this the problem, who owns the "formats" for the content in a system where many sub systems needs to be aware of "formatting"
If the server didn't have to be aware of the html at all and it was only ever just raw data I would agree with your view.