Answer the question
In order to leave comments, you need to log in
How to build a page using Node.js?
I used to write in php, I decided to move to Node.js.
Essence of the question.
I have a page template. Accordingly, the page is divided into logical blocks (header, footer, news, right-column, etc.), each of which is in a separate file. Question: how to assemble a page from these blocks on the server using Node.js. Among other things, you need to fill in certain variables in the page in certain places of the page, depending on the values returned by the server: for example, insert the name of the profile and the date of registration.
In php this was done with a simple include...
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question