4 ms·
I thought returning html from server was considered mixing up separation of concerns… oh well
by tankaiji 1y ago
I thought returning html from server was considered mixing up separation of concerns… oh well
- hshdhdhehd 1y agopartial html? Returning html from a server is... just the WWW.
- nchmy 1y agoThis website that we are communicating on returns html from the server. That's how the web works
- tankaiji 1y agoOh I guess I missed the point. So everything is rendered on server and even templating is on server side. Fair.
- pragma_x 1y agoThat's... no, servers sending HTML to the client was where we started with all this. That's why the H in HTTP and in HTML stand for "Hypertext." Any time a webserver replies with something other than markup, _that's_ the extension/exception to that very old design. Now, if you're talking about the separation of user-interface, data, logic, and where HTML fits in, that's a much bigger discussion.