Answer the question
In order to leave comments, you need to log in
Where can I see the architecture for the site?
Goodnight!
Are there books or articles (preferably in Russian) about the architecture of websites and applications. In particular, about Express.js and its middleware.
Specifically, now the question is tormenting at what point to write down the parameters for rendering the page.
1) Is it worth writing them in req along the way. And then merge objects.
2) Allocate a separate middleware for recording all properties.
Answer the question
In order to leave comments, you need to log in
It is best to learn architectures using various frameworks. So, now the most popular architecture is MVC. On nodejs, you can try to implement something on sails to study it.
Then you can already implement your own MVC on Express.js.
https://youtu.be/Try7lmWikao
habrahabr.ru/post/204958
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question