3 ms·
Whether you're doing server rendering or client rendering, you need to separate markup from business logic. Modern architecture fashion tells us that we need t
by vbezhenar 3y ago
Whether you're doing server rendering or client rendering, you need to separate markup from business logic.
Modern architecture fashion tells us that we need to use micro services. So even if I generate markup on the server, I need to talk to micro services using HTTP to get data.
So the question is: which technology provides best tools for writing server-side rendering module?
My wishes:
1. Strict-typed language.
2. Compiler-checked HTML output.
3. Flexible CSS output.
So one should be able to write reusable components and easily write required markup.
IMO best tool nowadays is TypeScript + React.
- tacker2000 3y agoHonest question: have you ever used anything besides JS and related stuff (TS/react)?
- yakshaving_jgt 3y ago> 1. Strict-typed language. 2. Compiler-checked HTML output. 3. Flexible CSS output. Haskell can do that.
- anonymoushn 3y ago> Modern architecture fashion tells us that we need to use micro services. So even if I generate markup on the server, I need to talk to micro services using HTTP to get data. I can only hope that this is satire