News for hackers. Stuff that matters.
Re:Rendering on the Web by rsp1984 on Monday August 19, 2019 @04:33PM (#20741533)
Really confused by the terminology. I assume in this context "rendering" does not mean translating an abstract scene description into pixels on screen, but something else.

Can somebody shed some light on this?

Re:Rendering on the Web by bgrainger on Monday August 19, 2019 @04:59PM (#20741779)
"Rendering" in this context is turning an abstract representation of the content of your page (or state of your application) into HTML (either as bytes delivered in an HTTP response from a server, or as DOM nodes created by JavaScript on the client).

For Hacker News, "Server Rendering" is taking the top 25 stories, creating a large string containing all the HTML tags, then serializing that to a byte stream.

A hypothetical "Client Rendering" alternative to HN might be downloading a JSON chunk containing the data about the top stories, then using a JavaScript framework to create DOM nodes in the user's browser that create the same document client-side.

Re:Rendering on the Web by rsp1984 on Monday August 19, 2019 @05:21PM (#20741940)
Ah got it, thanks for the concise explanation.
Re:Rendering on the Web by snaky on Monday August 19, 2019 @10:21PM (#20743348)
In a web context, rendering is populating html template with data.
Re:Rendering on the Web by ralusek on Monday August 19, 2019 @04:57PM (#20741757)
Constructing and painting the DOM.
Re:Rendering on the Web by bgrainger on Monday August 19, 2019 @05:01PM (#20741790)
No; "Server Rendering" is creating an HTML document as text, then serializing it to bytes and delivering it in an HTTP response. There's no painting in this scenario.