D
D
Devil Devil2016-11-07 22:54:18
JavaScript
Devil Devil, 2016-11-07 22:54:18

How to implement a three-tier (namely, a three-tier, not a three-layer) architecture using Node js?

It is necessary to make a three-layer architecture, not a three-layer one, how can this be implemented on node js?
If I may. then in detail about each level and what is better to use

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lubezniy, 2016-11-08
@lubezniy

You mean 3-tier? So here and so it turns out to be three-tier: client - browser, Node - application server, well, also a database server (to taste - MySQL, PostgreSQL or something else).

V
Vasily Petrov, 2016-11-08
@ratha

You mean Data-layer, Business-layer, Presentation-layer.
where in Data is everything related to the database (CRUD),
Business is the main logic (processing all data).
Presen... routing, client, etc. (receiving/responding to API, returning statics).
Presentation-layer=>Business-layer=>Data-layer.
it is desirable that all levels remain independent of each other

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question