V
V
vasIvas2015-03-06 15:57:32
Node.js
vasIvas, 2015-03-06 15:57:32

Where is the application business logic in SailsJS?

Yesterday I read several minimalist articles about Sails, but I still could not understand where, according to the idea of ​​the authors, the business logic of the application should be located. Where?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2015-03-06
@vasIvas

This may sound crazy to you, but there are not many opinionated solutions in the node.js world, and you can choose for yourself.
Actually, there are only two places: controllers and models (except for the newfangled approach of microservices). You can somehow divide between them, in accordance with common sense and the principle of single responsibility.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question