H
H
HoHsi2015-10-02 23:59:47
Node.js
HoHsi, 2015-10-02 23:59:47

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

2 answer(s)
O
Oleg Petrunkin, 2015-10-03
@JohnyRotten

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.

T
Timur Shemsedinov, 2015-10-04
@MarcusAurelius

https://youtu.be/Try7lmWikao
habrahabr.ru/post/204958

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question